Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12421
tests: unify test-eol-add
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12420
tests: unify test-eol-patch
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12419
tests: unify test-eol
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12418
tests: unify test-encoding-align
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12417
tests: unify test-encoding
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12416
tests: unify test-encode
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12415
tests: unify test-diff-color
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12414
tests: unify test-ssh
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12413
tests: unify test-hup
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:32 -0500] rev 12412
tests: unify test-clone-pull-corruption
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:41:17 -0500] rev 12411
tests: unify test-clone-failure
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:11:52 -0500] rev 12410
tests: unify test-clone-cgi
Brodie Rao <brodie@bitheap.org> [Fri, 24 Sep 2010 15:50:57 -0500] rev 12409
test-ssh: test absolute paths in SSH URLs
Brodie Rao <brodie@bitheap.org> [Fri, 24 Sep 2010 15:36:53 -0500] rev 12408
revset: support raw string literals
This adds support for r'...' and r"..." as string literals. Strings
with the "r" prefix will not have their escape characters interpreted.
This is especially useful for grep(), where, with regular string
literals, \number is interpreted as an octal escape code, and \b is
interpreted as the backspace character (\x08).
Matt Mackall <mpm@selenic.com> [Sun, 26 Sep 2010 13:11:31 -0500] rev 12407
tests: fold darcs test repository into a bundle
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Sep 2010 21:52:17 +0200] rev 12406
tests: avoid checking the exitcode of false
Solaris false returns 255 instead of 1, so we remove one unneeded instance and
replaces another with (exit 1) as suggested by Brodie Rao.
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Sep 2010 02:35:36 +0200] rev 12405
test-rename: accept solaris diff
Solaris diff gives
@@ -1,1 +1,1 @@
instead of
@@ -1 +1 @@
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Sep 2010 02:35:35 +0200] rev 12404
test-subrepo-svn: restore expr functionality for solaris
Cleanup in
22f3353bcc36 removed a syntactically incorrect and apparently
unnecessary escape of / for expr - but solaris needs it.
Mads Kiilerich <mads@kiilerich.com> [Sat, 25 Sep 2010 02:35:32 +0200] rev 12403
test-serve: fix test for binding to low named port on solaris
Solaris do not know the service called http, so we use echo instead.
Trying to define KILLQUIETLY when running the hgserve function didn't set the
value within the function. Now we set the variable before calling the function.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 21 Sep 2010 23:55:32 +0200] rev 12402
templater: add a few comments.
Matt Mackall <mpm@selenic.com> [Fri, 24 Sep 2010 12:46:54 -0500] rev 12401
backout most of
4f8067c94729
Erik Zielke <ez@aragost.com> [Fri, 24 Sep 2010 12:00:55 +0200] rev 12400
incoming/outgoing: Fix recursion on sub repositories
Incoming and outgoing are fixed so they go through the whole three of
repositories instead of only visiting first level of sub repositories.
Martin Geisler <mg@aragost.com> [Fri, 24 Sep 2010 10:13:49 +0200] rev 12399
tests: added a short description to issue numbers
Many tests already had a short line to describe what IssueXXX is
about. I find that quite useful when reading a test.
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Sep 2010 03:04:14 +0200] rev 12398
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Sep 2010 02:57:15 +0200] rev 12397
test-gendoc: mute gendoc stderr
Solaris had problems with zh_CN and warned "couldn't set locale correctly" on
stderr. We don't care.
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Sep 2010 02:52:12 +0200] rev 12396
test-mq-symlinks: fix symlink handling on solaris
It seems like ln -s gets confused if an existing symlink is dangling:
$ rm -f a b; ln -s a b; ln -sf b b
ln: cannot create b: File exists
We now rely on rm instead of on ln -sf.
Mads Kiilerich <mads@kiilerich.com> [Fri, 24 Sep 2010 02:49:09 +0200] rev 12395
test-archive: fix touch datestamps
Backport
3acd5f7ab9d0 and
9581d5efb6a5 to stable.
Patrick Mezard <pmezard@gmail.com> [Fri, 24 Sep 2010 00:17:04 +0200] rev 12394
Merge with stable
Patrick Mezard <pmezard@gmail.com> [Fri, 24 Sep 2010 00:04:07 +0200] rev 12393
convert/darcs: improve unsupported format detection (
issue2172)
Patrick Mezard <pmezard@gmail.com> [Fri, 24 Sep 2010 00:03:58 +0200] rev 12392
bookmarks: fix _bookmarks/lookup() reentrancy issue (
issue2016)
_bookmarks is loaded lazily and calls super.lookup(). Unfortunately, branch and
tags caches initializations also recurse in lookup() and end up trying to
access _bookmarks again. Massive confusion ensues.
I considered fixing all branches and tags cache loading to avoid recursing in
lookup() but it would add complexity to otherwise working code provided lookups
are performed on nodes or revnums.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 23 Sep 2010 11:41:27 +0200] rev 12391
Fix memory leak when using hg commands over http repositories
When using hg commands over an http repository in a long running process, a
httphandler instance is leaked for each command, because of a loop
handler.parent -> OpenerDirector and OpenerDirector.handlers -> handler which
is not handled by Python's gc. Discussion on #mercurial concluded that removing
the __del__ method solved the problem.
Christian Ebert <blacktrash@gmx.net> [Thu, 23 Sep 2010 16:31:38 +0200] rev 12390
Use more note admonitions in help texts
Erik Zielke <ez@aragost.com> [Wed, 22 Sep 2010 16:23:55 +0200] rev 12389
Use note admonition
Erik Zielke <ez@aragost.com> [Wed, 22 Sep 2010 15:51:59 +0200] rev 12388
minirst: Support for admonitions
The old asciidoc format supported something like this,
this is why there is NOTE: scattered here and there.
Brodie Rao <brodie@bitheap.org> [Thu, 23 Sep 2010 00:02:31 -0500] rev 12387
cleanup: use x in (a, b) instead of x == a or x == b
Martin Geisler <mg@aragost.com> [Thu, 23 Sep 2010 10:59:21 +0200] rev 12386
merge with stable
Brodie Rao <brodie@bitheap.org> [Wed, 22 Sep 2010 19:15:27 -0500] rev 12385
grep: only catch re.error when compiling regular expressions
Anthony Foiani <anthony.foiani@gmail.com> [Thu, 23 Sep 2010 00:27:04 -0600] rev 12384
doc: clarify smtp.password usage
Mads Kiilerich <mads@kiilerich.com> [Thu, 23 Sep 2010 01:59:02 +0200] rev 12383
merge with stable
Mads Kiilerich <mads@kiilerich.com> [Thu, 23 Sep 2010 01:23:16 +0200] rev 12382
log: include unmodified-in-merge files in log diff/stat (
issue2383)
f786fc4b8764 assumed that walkchangerevs called prep with all relevant matched
filenames, but actually it only contains the names of files changed in the
relevant changeset. That meant that log diff/stat of merges missed the diff for
files only changed in the other branch.
This is a minimal fix for making sure we only use fns when we are following and
thus will have problems with merges anyway ...
Mads Kiilerich <mads@kiilerich.com> [Thu, 23 Sep 2010 01:51:17 +0200] rev 12381
tests: fix unzip -l variability fix
01-01-1980 slipped through the grep.
Matt Mackall <mpm@selenic.com> [Wed, 22 Sep 2010 18:29:41 -0500] rev 12380
merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 22 Sep 2010 17:13:49 -0500] rev 12379
tests: fix unzip -l variability
Patrick Mezard <pmezard@gmail.com> [Wed, 22 Sep 2010 23:51:10 +0200] rev 12378
mq: always require --force when pushing patches (
issue2363)
--force was not necessary when passing --rev since
55578a8d7e84, but this
behaviour is usually harmful when branch names are passed instead of explicit
revisions.
Matt Mackall <mpm@selenic.com> [Wed, 22 Sep 2010 18:20:47 -0500] rev 12377
tests: various fixes for new unified test pattern format
Brodie Rao <brodie@bitheap.org> [Wed, 22 Sep 2010 16:06:02 -0500] rev 12376
tests: add glob matching for unified tests
This adds a " (glob)" marker that works like a simpler version of
(re): "*" is converted to ".*", and "?" is converted to ".".
Both special characters can be escaped using "\", and the backslash
itself can be escaped as well.
Other glob-style syntax, like "**", "[chars]", or "[!chars]", isn't
supported.
Brodie Rao <brodie@bitheap.org> [Wed, 22 Sep 2010 16:06:00 -0500] rev 12375
tests: require regexes in unified tests to be marked with " (re)"
Consider this test:
$ hg glog --template '{rev}:{node|short} "{desc}"\n'
@ 2:
20c4f79fd7ac "3"
|
| o 1:
38f24201dcab "2"
|/
o 0:
2a18120dc1c9 "1"
Because each line beginning with "|" can be compiled as a regular
expression (equivalent to ".*|"), they will match any output.
Similarly:
$ echo foo
The blank output line can be compiled as a regular expression and will
also match any output.
With this patch, none of the above output lines will be matched as
regular expressions. A line must end in " (re)" in order to be matched
as one.
Lines are still matched literally first, so the following will pass:
$ echo 'foo (re)'
foo (re)
Brodie Rao <brodie@bitheap.org> [Wed, 22 Sep 2010 16:05:59 -0500] rev 12374
tests: ensure regexes match to the end of the string
Regular expressions in the test suite are currently written assuming
that you need a trailing ".*" to avoid matching to the end.
Instead of matching regular expressions using "^pattern", this patch
makes matching more restrictive by matching "^pattern$".
Brodie Rao <brodie@bitheap.org> [Wed, 22 Sep 2010 16:05:59 -0500] rev 12373
tests: don't match blank output lines as regexes in unified tests
Currently, the following unified test will pass:
$ echo foo
A blank output line (a line containing just two spaces) will match any
output.
The patch modifies the unified test runner to ignore empty strings
strings when do regular expression matching.
Brodie Rao <brodie@bitheap.org> [Wed, 22 Sep 2010 16:05:58 -0500] rev 12372
tests: improve regexes in unified tests
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Wed, 22 Sep 2010 00:14:57 +0200] rev 12371
templater: add hex filter.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 21 Sep 2010 18:40:33 +0200] rev 12370
tests: unify test-convert-svn-*
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Mon, 06 Sep 2010 17:35:49 +0200] rev 12369
merge: delay writing the mergestate during until commit is called
This speeds up merges of lots of files considerably.
Matt Mackall <mpm@selenic.com> [Wed, 22 Sep 2010 15:33:08 -0500] rev 12368
tests: fix touch -t with RHEL
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Tue, 21 Sep 2010 18:36:23 +0200] rev 12367
tests: compatibility fix.
'touch -d *' doesn't work on Mac OS X. In order to prevent this from
occuring again, a check for the case is added to 'check-code.py'.
Matt Mackall <mpm@selenic.com> [Tue, 21 Sep 2010 16:44:13 -0500] rev 12366
tests: drop a bunch of sed calls from unified tests
Matt Mackall <mpm@selenic.com> [Tue, 21 Sep 2010 16:00:02 -0500] rev 12365
tests: cleanup exit code handling in unified tests
Matt Mackall <mpm@selenic.com> [Tue, 21 Sep 2010 12:41:24 -0500] rev 12364
check-code: add some basic support for unified tests
Patrick Mezard <pmezard@gmail.com> [Tue, 21 Sep 2010 23:58:32 +0200] rev 12363
test-subrepo-recursion: sort archive output for portability
Patrick Mezard <pmezard@gmail.com> [Tue, 21 Sep 2010 23:38:26 +0200] rev 12362
Merge with crew
Patrick Mezard <pmezard@gmail.com> [Tue, 21 Sep 2010 23:37:47 +0200] rev 12361
Merge with stable
Patrick Mezard <pmezard@gmail.com> [Tue, 21 Sep 2010 23:14:58 +0200] rev 12360
context: fix filectx.undelete() (
issue2388)
Matt Mackall <mpm@selenic.com> [Mon, 20 Sep 2010 17:01:12 -0500] rev 12359
tests: fix hgweb template change
Patrick Mezard <pmezard@gmail.com> [Mon, 20 Sep 2010 23:42:23 +0200] rev 12358
Merge with crew