Mads Kiilerich <mads@kiilerich.com> [Sat, 03 Oct 2009 18:31:20 +0200] rev 9536
cmdutil: templating keywords latesttag and latesttagdistance
This can be used for referring to revisions in a reasonable
meaningful, stable and monotonically increasing way, suitable for
releases or builds directly from a repository.
The latest tag is found by searching through untagged ancestors and
finding the latest tagged ancestor based on tag date. The distance is
found from the length of the longest path to the tagged revision.
For example:
hg log -l1 --template '{latesttag}+{latesttagdistance}\n'
can return
1.3.1+197
This is mostly work by Gilles Moris <gilles.moris@free.fr>
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 03 Oct 2009 23:38:10 +0200] rev 9535
merge with mpm
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 03 Oct 2009 23:36:08 +0200] rev 9534
bdiff: gradually enable the popularity hack
Patch from Jason Orendorff
The lower the threshold, the stronger the popularity hack's
influence. So at 3999 lines, the hack is disabled; and at 4000 lines,
the hack is enabled at maximum strength (t=4).
No source file in mercurial/crew is over 4000 lines. But there are, oh,
a few such files in Mozilla. I can testify that this hack causes hg to
generate some correct but eyebrow-raising patches.
I think the hack should phase in gradually. The threshold should be high
for small files where we don't need it so much. Like this:
t = (bn < 31000) ? 1000000 / bn : bn / 1000;
That would leave the popularity hack disabled for small files, then
gradually phase it in:
bn < 1000 -- t > bn (popularity hack is completely disabled)
bn == 1000 -- t = 1000 (still effectively disabled)
bn == 2000 -- t = 500 (only hits unusual files)
bn == 10000 -- t = 100 (only hits especially common lines)
bn == 31000 -- t = 31 (hack is at maximum power)
bn == 32000 -- t = 32 (hack could backfire, ease off)
Matt Mackall <mpm@selenic.com> [Wed, 07 Oct 2009 23:45:30 -0500] rev 9533
Merge with -crew-stable
Patrick Mezard <pmezard@gmail.com> [Wed, 07 Oct 2009 18:52:01 +0200] rev 9532
convert/hg: handle bogus copy records (
issue1843)
Patrick Mezard <pmezard@gmail.com> [Wed, 07 Oct 2009 10:13:04 +0200] rev 9531
convert/hg: make parents() return changectx, not nodes
Matt Mackall <mpm@selenic.com> [Wed, 07 Oct 2009 23:25:41 -0500] rev 9530
Merge with -crew-stable
Adrian Buehlmann <adrian@cadifra.com> [Tue, 06 Oct 2009 10:45:23 +0200] rev 9529
util.rename: do not abort if os.unlink fails (
issue1840)
Patrick Mezard <pmezard@gmail.com> [Mon, 05 Oct 2009 22:01:08 +0200] rev 9528
convert: make mapfile handle LF and CRLF shamap (
issue1846)
Patrick Mezard <pmezard@gmail.com> [Sun, 04 Oct 2009 23:06:14 +0200] rev 9527
convert/darcs: handle directory renaming
Patrick Mezard <pmezard@gmail.com> [Sun, 04 Oct 2009 22:23:11 +0200] rev 9526
convert/darcs: fix file renaming (
issue1853)
Bryan O'Sullivan <bos@serpentine.com> [Thu, 06 Aug 2009 21:35:25 -0700] rev 9525
Fix failing darcs test
Matt Mackall <mpm@selenic.com> [Sat, 03 Oct 2009 15:57:48 -0500] rev 9524
Matt Mackall <mpm@selenic.com> [Sat, 03 Oct 2009 14:39:57 -0500] rev 9523
Merge with -stable
Matt Mackall <mpm@selenic.com> [Sat, 03 Oct 2009 14:39:46 -0500] rev 9522
notify: update test
Grauw <laurens.hg@grauw.nl> [Fri, 07 Aug 2009 01:15:16 +0200] rev 9521
Fix issue 1782 don't do url2pathname conversion for urls
And only replace os-dependent path separators when necessary
Kevin Bullock <kbullock@ringworld.org> [Tue, 29 Sep 2009 23:49:42 -0500] rev 9520
color: allow multiple args to ui.write()
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Thu, 01 Oct 2009 08:50:10 +0200] rev 9519
extdiff: fix defaulting to "diff" if no --program is given
Greg Ward <greg-hg@gerg.ca> [Thu, 01 Oct 2009 15:36:45 -0400] rev 9518
dirstate: add/improve method docstrings.
- add doc to __init__(), _map(), status()
- enhance for __getitem__()
- fix inaccurate doc for walk() (described wrong return type)
Mads Kiilerich <mads@kiilerich.com> [Sun, 20 Sep 2009 22:19:18 +0200] rev 9517
util.system: Use subprocess instead of os.system
subprocess allows the environment and working directory to be specified
directly, so the hacks for making temporary changes while forking is no longer
necessary.
This also fixes failures on solaris where the temporary changes can't be undone
because there is no unsetenv.
David Champion <dgc@uchicago.edu> [Wed, 23 Sep 2009 02:31:09 -0500] rev 9516
notify: permit suppression of merge changeset notification
In some environments merges occur regularly but with no conflicts, and
committers find merge notifications more of a bother than a help.
By setting merge=False in [notify], merge notifications are suppressed.
This works both for incoming and for changegroup hooks.
Greg Ward <greg-hg@gerg.ca> [Thu, 27 Aug 2009 10:21:32 -0400] rev 9515
Add script to rewrite revlog to workaround lack of parent deltas.
Defaults to rewriting the manifest in the current repository.
Based on a patch to rewrite-log by Benoit Boissinot that I found here:
http://article.gmane.org/gmane.comp.version-control.mercurial.general/11908
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 16 Aug 2009 11:11:37 +0900] rev 9514
inotify: use cmdutil.service instead of local daemonizing code
Nicolas Dumazet <nicdumz.commits@gmail.com> [Sun, 16 Aug 2009 11:30:24 +0900] rev 9513
cmdutil: service: add an optional runargs argument to pass the command to run
This would be necessary for inotify launching its server: the initial command
is a standard 'hg st'/'hg ci'/... but the daemon to run is 'hg inserve'
Sune Foldager <cryo@cyanite.org> [Thu, 17 Sep 2009 21:12:32 +0200] rev 9512
extdiff: add 3-way diff for merge changesets
This adds 3-way diff for merge changesets (using -c) and for diffing
the working directory context against two parents. To enable it, use
the new magic value '$parent2' in the argument line. In order to work,
your differ must support that the second parent argument is left out;
this will happen in 2-way mode. Default arguments are as before, without
enabling 3-way mode, ensuring backwards compatibility.
This also fixes a problem when diffing a merge changeset with a single
file change. Extdiff would sometimes do the wrong thing in that situation.
Kevin Bullock <kbullock@ringworld.org> [Wed, 23 Sep 2009 21:29:47 -0500] rev 9511
bash_completion: add completions for shelve extension
Adrian Buehlmann <adrian@cadifra.com> [Thu, 01 Oct 2009 11:40:53 +0200] rev 9510
doc: clarify license footers
Mercurial is licensed under version 2 of the GPL
Adrian Buehlmann <adrian@cadifra.com> [Thu, 01 Oct 2009 17:17:52 +0200] rev 9509
dirstate: kill dirstate.granularity config option
The dirstate.granularity configuration parameter was never documented,
it only adds code complexity and it is unneeded.
Adding comments describing forced 'unset' entries.
Matt Mackall <mpm@selenic.com> [Wed, 30 Sep 2009 21:42:51 -0500] rev 9508
Merge with -stable
Matt Mackall <mpm@selenic.com> [Wed, 30 Sep 2009 18:47:33 -0500] rev 9507
subrepo: add auto-pull for merge
Greg Ward <greg-hg@gerg.ca> [Wed, 30 Sep 2009 16:08:11 -0400] rev 9506
streamclone: partially encode filename over the wire, not for local read (
issue1847)
(Fixes
issue1847, which was introduced by
810387f59696: stream clone
of a repo with directory named *.d failed: server raises exception
"IOError: [Errno 2] No such file or directory:
/tmp/test/.hg/store/data/foo.d.hg.hg/foo".)
Matt Mackall <mpm@selenic.com> [Wed, 30 Sep 2009 13:15:18 -0500] rev 9505
Merge with i18n-stable
Martin Geisler <mg@lazybytes.net> [Tue, 29 Sep 2009 00:42:14 +0200] rev 9504
i18n-da: random small strings, only 499 strings left
Martin Geisler <mg@lazybytes.net> [Tue, 29 Sep 2009 00:23:01 +0200] rev 9503
Merge with main
Greg Ward <greg-hg@gerg.ca> [Thu, 17 Sep 2009 18:12:53 -0400] rev 9502
commands: tweak help for 'heads'.
- prefer "changeset" over "revision" for internal consistency
- clarify explanation of branch heads
- add a line break
- tighten some wording
Martin Geisler <mg@lazybytes.net> [Mon, 28 Sep 2009 00:23:44 +0200] rev 9501
i18n-da: translate addremove, branch, and cat
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 23:56:27 +0200] rev 9500
i18n-da: synchronized with
744cb8e93936
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 08 Sep 2009 18:11:11 -0300] rev 9499
i18n-pt_BR: synchronized with
f4f17d5695d2
Martin Geisler <mg@lazybytes.net> [Tue, 08 Sep 2009 22:58:28 +0200] rev 9498
Merge with stable
Martin Geisler <mg@lazybytes.net> [Thu, 13 Aug 2009 20:11:16 +0200] rev 9497
i18n: merge with pt_BR
Wagner Bruna <wbruna@yahoo.com> [Wed, 12 Aug 2009 10:26:17 -0300] rev 9496
i18n-pt_BR: synchronized with
73bec717b825
Martin Geisler <mg@lazybytes.net> [Tue, 29 Sep 2009 01:08:18 +0200] rev 9495
ui: guard against UnicodeDecodeErrors in ui.wrap
Christian Ebert <blacktrash@gmx.net> [Thu, 01 Oct 2009 00:00:18 +0200] rev 9494
keyword: uppercase short option for kwfiles --all, like hg status -A
Deprecate kwfiles -a.
Christian Ebert <blacktrash@gmx.net> [Wed, 30 Sep 2009 23:59:03 +0200] rev 9493
keyword: make kwfiles -u show untracked files only (like status)
Remove extra documentation of -u/--unknown, as this is covered in
the option help already.
Like commands.status the code now zips the status flags.
Add more kwfiles tests.
Christian Ebert <blacktrash@gmx.net> [Wed, 30 Sep 2009 23:59:03 +0200] rev 9492
keyword: make kwfiles --all show unknown files too
More consistent and similar to hg status.
Christian Ebert <blacktrash@gmx.net> [Wed, 30 Sep 2009 22:39:56 +0200] rev 9491
keyword: kwfiles --unknown instead of --untracked
Use the same option name as "hg status".
Retrieve option in _status().
Mark --untracked as deprecated.
Brendan Cully <brendan@kublai.com> [Wed, 30 Sep 2009 14:43:22 -0700] rev 9490
convert: unbreak non-svn engines
Alexander Solovyov <piranha@piranha.org.ua> [Sat, 26 Sep 2009 00:17:55 +0300] rev 9489
zeroconf: read actual description for repos in hgwebdir
Alexander Solovyov <piranha@piranha.org.ua> [Sat, 26 Sep 2009 00:17:02 +0300] rev 9488
zeroconf: code cleanup, fixing variable names to be meaningful
Bryan O'Sullivan <bos@serpentine.com> [Mon, 28 Sep 2009 13:21:41 -0700] rev 9487
Merge with crew
Bryan O'Sullivan <bos@serpentine.com> [Mon, 24 Aug 2009 16:30:42 -0700] rev 9486
notify: make it possible to pass extra info into templates
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 10:12:02 +0200] rev 9485
test-gendoc: add tests for all languages
This ensures that we catch errors in the reST syntax early and for all
languages. The only change needed in gendoc.py was to correct the
computation of section underlines for Asian languages.
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 10:04:51 +0200] rev 9484
gendoc: do not wrap encoded string
- it breaks multi-byte characters
- it is not needed since Docutils will take care of wrapping the
strings as necessary
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 09:39:57 +0200] rev 9483
test-encoding: make test output easier to follow
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 09:38:53 +0200] rev 9482
Merge with crew-stable
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 09:34:40 +0200] rev 9481
test-extension: update test output to match
a4f6e4427b65
Martin Geisler <mg@lazybytes.net> [Sun, 27 Sep 2009 01:44:46 +0200] rev 9480
util: do not corrupt multi-byte characters in wrap
Sune Foldager <cryo@cyanite.org> [Wed, 23 Sep 2009 18:56:09 +0200] rev 9479
push: fix subtle bug in prepush logic
A test case demonstrating the bug has been added.
Contributed by Henrik Stuart and Sune Foldager.
Brodie Rao <me+hg@dackz.net> [Wed, 23 Sep 2009 15:58:07 +0200] rev 9478
color: mark --no-color as deprecated (--color=never has the same effect)
This should've been marked deprecated when --color was first introduced, but
it was something I overlooked.
Adrian Buehlmann <adrian@cadifra.com> [Wed, 23 Sep 2009 15:57:25 +0200] rev 9477
mention overlay bundle file in global --repository option
see http://mercurial.selenic.com/wiki/LookingIntoBundles
Drop mentioning symbolic path names for the sake of brevity. This is
a common feature of path options anyway.