Henri Wiechers <hwiechers@gmail.com> [Mon, 21 Dec 2009 12:18:43 +0200] rev 10110
test-help: improve test coverage
Adds a test for displaying the short list of commands with
the verbose option i.e. 'hg -v help shortlist'.
Extends test coverage of commands.help_ by 2 lines.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 21 Dec 2009 20:30:37 +0100] rev 10109
bookmarks: move parse() and current() into property definitions
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 21 Dec 2009 15:17:28 +0900] rev 10108
bookmarks: refactor code responsible for updates of bookmarks
introduce _bookmarksupdate for common parts from commitctx and addchangegroup
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 21 Dec 2009 20:19:21 +0100] rev 10107
bookmarks: repo._bookmarkcurrent should be a propertycache
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 21 Dec 2009 15:23:03 +0900] rev 10106
bookmarks: write() can simply access repo._bookmarks
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 21 Dec 2009 13:55:56 +0900] rev 10105
bookmarks: turn repo._bookmarks into a propertycache
Sune Foldager <cryo@cyanite.org> [Mon, 21 Dec 2009 16:13:20 +0100] rev 10104
Merge with stable
Sune Foldager <cryo@cyanite.org> [Mon, 21 Dec 2009 16:12:43 +0100] rev 10103
hook: fix bug (reuse of variable) introduced in
872d49dd577a
For binary installs, the 'name' argument would be reused as a local variable,
destroying its original value. The patch fixes that, and also avoids copying
sys.path when it's not necessary.
Martin Geisler <mg@lazybytes.net> [Sun, 20 Dec 2009 17:18:04 +0100] rev 10102
patch: implement patch.eol=auto mode
EOLs in patched files are restored to their original value after
patching. We use the first EOL found in the file, files with
inconsistent EOLs will thus be normalized during this process.
Martin Geisler <mg@lazybytes.net> [Sun, 20 Dec 2009 17:18:02 +0100] rev 10101
patch: propagate eolmode down to patchfile
The old code mapped the value of eolmode ('strict', 'crlf' or 'lf') to
eol (None, '\r\n' or '\n') at the entry point in internalpatch. The
value of eol was then used directly as the desired EOL in patchfile.
We now delay the mapping and let patchfile do it instead. This allows
for more complicated behavior where it does not make sense to map
eolmode directly to the target EOLs.
Brendan Cully <brendan@kublai.com> [Sat, 19 Dec 2009 22:56:01 -0800] rev 10100
Merge with stable
Brendan Cully <brendan@kublai.com> [Sat, 19 Dec 2009 22:55:33 -0800] rev 10099
share: use defaultdest to compute unspecified destination
This harmonizes with clone, and avoids creating a .hg in the current directory if
the source ends with a /
Martin Geisler <mg@lazybytes.net> [Sat, 19 Dec 2009 13:10:46 +0100] rev 10098
Merge with stable
Greg Ward <greg-hg@gerg.ca> [Fri, 18 Dec 2009 15:05:42 -0500] rev 10097
glog: fix "incompatible option" error message.
Options like 'only_branch' should be presented to the user as
'--only-branch'.
Matt Mackall <mpm@selenic.com> [Fri, 18 Dec 2009 14:27:30 -0600] rev 10096
Merge with crew
Frank Kingswood <frank@kingswood-consulting.co.uk> [Tue, 15 Dec 2009 10:37:23 +0000] rev 10095
convert: implement two hooks in builtin cvsps
Matt Mackall <mpm@selenic.com> [Wed, 16 Dec 2009 17:39:42 -0600] rev 10094
Merge with crew
Martin Geisler <mg@lazybytes.net> [Thu, 17 Dec 2009 00:32:26 +0100] rev 10093
Merge with stable
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Dec 2009 23:59:50 +0100] rev 10092
doc/Makefile: Fix rst2html detection
Displaying the output from the failing call to "which" didn't prevent
make from doing stupid things later. We now only search for "rst2html"
and fallback to "rst2html.py". If neither name is found, make will
eventually abort when we try to use $(RST2HTML).
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 11 Dec 2009 16:17:39 +0900] rev 10091
inotify: completely ignore events on the repository root
They can only be events on the top directory object. Those events are
meaningless for us: permission changes, repository-wide moves...
And they break the assertion that all events happen in repo/*.
Just ignore them.
Fixes one of the failures of run-test.py --inotify test-permissions
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 11 Dec 2009 15:58:09 +0900] rev 10090
inotify: do not rely on stat(.hg/dirstate) to invalidate our dirstate
stat() is not reliable when several events happen quickly. Which means
that if two hg actions occur in the same second, stat() result will not
reflect the second change. And only _one_ invalidate() call was done.
Also ignore the events that occur when wlock is held, since wlock release
will trigger a full rescan anyway.
Fixes 17 run-tests.py --inotify tests.
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 27 Nov 2009 09:23:10 +0900] rev 10089
inotify: follow new files if they are regular or a symlink.
Fixes run-tests.py --inotify symlink-basic
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Dec 2009 12:09:25 +0100] rev 10088
run-tests.py: Show paths to failing tests, .err and .out
I think this is very convenient when investigating and fixing test failures,
but perhaps it must be tweaked further to show paths if and only if
it is appropriate.
Matt Mackall <mpm@selenic.com> [Wed, 16 Dec 2009 16:46:12 -0600] rev 10087
Merge with stable
Matt Mackall <mpm@selenic.com> [Wed, 16 Dec 2009 16:42:58 -0600] rev 10086
convert: make hg sink cleanup safer
Martin Geisler <mg@lazybytes.net> [Wed, 16 Dec 2009 22:58:57 +0100] rev 10085
Merge with stable
Nicolas Dumazet <nicdumz.commits@gmail.com> [Fri, 11 Dec 2009 15:25:33 +0900] rev 10084
graphlog: fix output when both a limit and a path are provided
Limit was interpreted as absolute, from the topmost revision, without
counting the number of revisions matching a given file.
Which caused "glog -lN file" to show sometimes less than N csets if
the file was not modified in all of the N previous csets.
glog will now match the behavior of log.
Patrick Mezard <pmezard@gmail.com> [Wed, 16 Dec 2009 22:18:15 +0100] rev 10083
mercurial.iss: update locale location
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Dec 2009 12:10:21 +0100] rev 10082
test-share: Solaris sed can't handle never-ending lines
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Dec 2009 12:10:21 +0100] rev 10081
test-rollback: Ignore hook exit code
Failing hooks returned 255 on Solaris
Patrick Mezard <pmezard@gmail.com> [Wed, 16 Dec 2009 13:19:42 +0100] rev 10080
Merge with crew-stable
Mads Kiilerich <mads@kiilerich.com> [Wed, 16 Dec 2009 12:10:21 +0100] rev 10079
test-hook: Don't use extended regular expressions with grep
Using egrep fixes failure on Solaris
Brendan Cully <brendan@kublai.com> [Tue, 15 Dec 2009 12:33:04 -0800] rev 10078
hgweb: Make get_mtime use repository to find store path.
It was calculating it directly, which is redundant and caused
it to break with shared repositories.
Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> [Sun, 13 Dec 2009 18:29:16 +0100] rev 10077
make ui.interactive() return false in case stdin lacks isatty
Matt Mackall <mpm@selenic.com> [Tue, 15 Dec 2009 10:45:24 -0600] rev 10076
Merge with stable
Matt Mackall <mpm@selenic.com> [Tue, 15 Dec 2009 10:44:38 -0600] rev 10075
Merge with crew
Matt Mackall <mpm@selenic.com> [Tue, 15 Dec 2009 10:44:10 -0600] rev 10074
Merge -stable heads
Martin Geisler <mg@lazybytes.net> [Mon, 14 Dec 2009 23:14:50 +0100] rev 10073
Makefile: update "make clean" target after
f91e5630ce7e
Patrick Mezard <pmezard@gmail.com> [Mon, 14 Dec 2009 22:15:46 +0100] rev 10072
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Mon, 14 Dec 2009 22:09:49 +0100] rev 10071
convert/svn: better handling of hg recursive call failure
Alexander Solovyov <piranha@piranha.org.ua> [Mon, 14 Dec 2009 21:21:34 +0200] rev 10070
schemes: url parts are counted from 1
Matt Mackall <mpm@selenic.com> [Mon, 14 Dec 2009 15:02:02 -0600] rev 10069
Merge with -stable
Matt Mackall <mpm@selenic.com> [Mon, 14 Dec 2009 15:01:13 -0600] rev 10068
subrepo: add default path to new clones
Martin Geisler <mg@lazybytes.net> [Mon, 14 Dec 2009 00:26:28 +0100] rev 10067
win32mbcs: fix typos and reST syntax
Martin Geisler <mg@lazybytes.net> [Mon, 14 Dec 2009 00:02:04 +0100] rev 10066
help/templates: use hanging indent for field list
Now that the field list indentation is computed automatically, we no
longer need to align all fields the same. Using a simple hanging
indent makes it easy to edit the text in an editor like Emacs, which
will automatically recognized the hang and keep it.
The fields are still output with no blank lines between them.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 23:49:53 +0100] rev 10065
minirst: improve layout of field lists
Before, we used the padding following the key to compute where to wrap
the text. Long keys would thus give a big indentation. It also
required careful alignment of the source text, making it cumbersome to
items to the list.
We now compute the maximum key length and use that for all items in
the list. We also put a cap on the indentation: keys longer than 10
characters are put on their own line. This is similar to how rst2html
handles large keys: it uses 14 as the cutoff point, but I felt that 10
was better for monospaced text in the console.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 22:37:30 +0100] rev 10064
minirst: don't test regexps twice
We know the regexps match since splitparagraphs used them too.
Martin Geisler <mg@lazybytes.net> [Sun, 13 Dec 2009 19:24:24 +0100] rev 10063
minirst: run inlineliterals too in debug mode