Patrick Mezard <pmezard@gmail.com> [Thu, 15 Oct 2009 23:15:30 +0200] rev 9585
patch: handle symlinks without symlinkhunk
Symlink creations and deletions were handled with a special symlinkhunk object,
working like a binary hunk. However, this model does not support symlink
updates or replacements, so we teach regular hunks how to handle symlinks.
Matt Mackall <mpm@selenic.com> [Mon, 12 Oct 2009 18:25:46 -0500] rev 9584
bisect: use util.system and fix good/bad when using -c
The existing scheme using util.find_exe and subprocess.call meant we
couldn't use simple shell commands in tests. Fix that.
Also, it mistakenly used status from the system() call rather than
good from the bisect call in reporting results.
Matt Mackall <mpm@selenic.com> [Mon, 12 Oct 2009 14:59:28 -0500] rev 9583
bisect: limit considered set to descendants of first good rev
Matt Mackall <mpm@selenic.com> [Mon, 12 Oct 2009 14:52:53 -0500] rev 9582
tests: add -k to test scripts matching keywords
argument is a space-separated list of keywords that are searched for
in the name and body of each test. This makes it easy to run only
tests related to tags, hgweb, revert, etc. (eg -k "tag hgweb revert").
Raoul Bhatia [IPAX] <r.bhatia@ipax.at> [Fri, 09 Oct 2009 16:27:05 +0200] rev 9581
use short identifiers in atom feed
Matt Mackall <mpm@selenic.com> [Sun, 11 Oct 2009 13:58:53 -0500] rev 9580
run-tests: add --noskips option
Brodie Rao <me+hg@dackz.net> [Fri, 09 Oct 2009 03:53:24 -0400] rev 9579
color: add test for record support
Sune Foldager <cryo@cyanite.org> [Thu, 08 Oct 2009 10:39:43 +0200] rev 9578
rebase: return early when source is descendant of destination
This only happens when using --base (or no source selection options), as
rebase already aborts in this situation when using --source.
Without this change you get an abort from the underlying merge, and the
repository is in a different state than you started with (the working
dir parent is changed).
Sune Foldager <cryo@cyanite.org> [Thu, 08 Oct 2009 10:07:41 +0200] rev 9577
rebase: improve error and debug messages
Matt Mackall <mpm@selenic.com> [Sun, 11 Oct 2009 13:54:19 -0500] rev 9576
Merge with stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 10 Oct 2009 12:19:58 +0200] rev 9575
merge with hg-stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 10 Oct 2009 12:00:43 +0200] rev 9574
encoding: fix issue with non-standard UTF-8 CTYPE on OS X
Patrick Mezard <pmezard@gmail.com> [Thu, 08 Oct 2009 23:42:33 +0200] rev 9573
patch: do not swallow header-like patch first line (
issue1859)
Current solution is hackish but looks like a good trade-off short of rewriting
patch.extract() significantly.
Patrick Mezard <pmezard@gmail.com> [Thu, 08 Oct 2009 23:32:36 +0200] rev 9572
windows: fix unlink() not dropping empty tree (
issue1861)
Matt Mackall <mpm@selenic.com> [Thu, 08 Oct 2009 01:17:48 -0500] rev 9571
merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 08 Oct 2009 01:17:24 -0500] rev 9570
merge with i18n-stable
Matt Mackall <mpm@selenic.com> [Thu, 08 Oct 2009 01:16:32 -0500] rev 9569
Merge with i18n
Fabian Kreutz <fabian.kreutz@starnet.fi> [Tue, 06 Oct 2009 11:18:58 +0300] rev 9568
i18n-de: Translate extdiff, gpg, graphlog and fix some fuzzies
Martin Geisler <mg@lazybytes.net> [Wed, 30 Sep 2009 21:14:24 +0200] rev 9567
Merge with hg-i18n-stable
Wagner Bruna <wbruna@softwareexpress.com.br> [Mon, 28 Sep 2009 20:14:39 -0300] rev 9566
i18n-pt_BR: synchronized with
a1ee850f49e3
Martin Geisler <mg@lazybytes.net> [Tue, 29 Sep 2009 00:54:15 +0200] rev 9565
Merge with hg-i18n-stable
Martin Geisler <mg@lazybytes.net> [Mon, 28 Sep 2009 00:45:47 +0200] rev 9564
Merge with hg-i18n-stable
Martin Geisler <mg@lazybytes.net> [Thu, 17 Sep 2009 00:43:25 +0200] rev 9563
i18n-da: synchronized with
812aaef40757
Martin Geisler <mg@lazybytes.net> [Wed, 16 Sep 2009 23:46:06 +0200] rev 9562
Merge with main
Martin Geisler <mg@lazybytes.net> [Wed, 16 Sep 2009 16:11:44 +0200] rev 9561
i18n-de: correct indentation of verbatim blocks
Martin Geisler <mg@lazybytes.net> [Wed, 16 Sep 2009 15:41:39 +0200] rev 9560
i18n-de: correct errors reported by msgfmt
Fabian Kreutz <fabian.kreutz@starnet.fi> [Wed, 16 Sep 2009 14:14:06 +0300] rev 9559
i18n-de: Translation of convert + more syntax fixes
Fabian Kreutz <fabian.kreutz@starnet.fi> [Mon, 14 Sep 2009 09:14:36 +0300] rev 9558
i18n-de: redid latest translations
Originally by Simon H., Tobias and myself.
Wagner Bruna <wbruna@softwareexpress.com.br> [Tue, 08 Sep 2009 19:46:20 -0300] rev 9557
merge with i18n-stable
Jens Bäckman <jens.backman@gmail.com> [Tue, 18 Aug 2009 08:49:41 +0200] rev 9556
i18n-sv: Start Swedish translation
This is the starting point for the Swedish translation efforts. It
currently contains only the help of the first 17 basic commands.
Martin Geisler <mg@lazybytes.net> [Thu, 13 Aug 2009 20:12:34 +0200] rev 9555
i18n: merge with pt_BR
Wagner Bruna <wbruna@yahoo.com> [Wed, 12 Aug 2009 11:45:47 -0300] rev 9554
i18n-pt_BR: synchronized with
4e7149ed98e8
Wagner Bruna <wbruna@yahoo.com> [Wed, 12 Aug 2009 11:42:21 -0300] rev 9553
merge with i18n-stable
Matt Mackall <mpm@selenic.com> [Thu, 08 Oct 2009 00:59:46 -0500] rev 9552
Merge with -stable
Kevin Bullock <kbullock@ringworld.org> [Wed, 07 Oct 2009 14:01:20 -0500] rev 9551
color: allow multiple args to ui.write()
TK Soh <teekaysoh@gmail.com> [Thu, 08 Oct 2009 09:27:22 +0800] rev 9550
color: add support for record extension
Adrian Buehlmann <adrian@cadifra.com> [Wed, 07 Oct 2009 20:32:07 +0200] rev 9549
util: move rename into posix.py and windows.py
Adrian Buehlmann <adrian@cadifra.com> [Wed, 07 Oct 2009 20:16:43 +0200] rev 9548
util: state docstring of rename more precisely
Greg Ward <greg-hg@gerg.ca> [Mon, 05 Oct 2009 18:17:13 -0400] rev 9547
cmdutil: changeset_printer: use methods of filectx/changectx.
This allows extensions that modify changeset metadata (e.g.
description) by overriding methods of changectx to get consistent
behavior from all log-like commands, regardless of whether templates
or styles are used. Without this, overriding changectx methods works
if you use styles or templates, but not with default log format.
This meant adding filectx.extra() for consistency with changectx.
Patrick Mezard <pmezard@gmail.com> [Wed, 07 Oct 2009 22:50:20 +0200] rev 9546
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Tue, 06 Oct 2009 22:46:31 +0200] rev 9545
verify: detect file copy sources not in parents with --verbose
Steve Borho <steve@borho.org> [Tue, 06 Oct 2009 16:08:38 -0500] rev 9544
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Mon, 05 Oct 2009 22:57:15 +0200] rev 9543
convert/cvs: stop supporting external cvsps
Patrick Mezard <pmezard@gmail.com> [Mon, 05 Oct 2009 22:17:39 +0200] rev 9542
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Sun, 04 Oct 2009 23:16:54 +0200] rev 9541
Merge with crew-stable
Martin Geisler <mg@lazybytes.net> [Sun, 04 Oct 2009 12:18:43 +0200] rev 9540
help: un-indent help topics
The help topics are reused in the HTML documentation, and there it
looks odd that whole sections are indented. We now only indent it for
output on the terminal.
Martin Geisler <mg@lazybytes.net> [Sun, 04 Oct 2009 09:59:13 +0200] rev 9539
help: move help topics from mercurial/help.py to help/*.txt
The help topics are loaded on demand so we wont hit the disk unless we
really have to.
Martin Geisler <mg@lazybytes.net> [Sat, 03 Oct 2009 18:58:25 +0200] rev 9538
i18n: remove unnecessary os.path.normpath call
Martin Geisler <mg@lazybytes.net> [Sun, 04 Oct 2009 10:17:01 +0200] rev 9537
commands: simpler sort of help topic names
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