Martin Geisler <mg@lazybytes.net> [Thu, 22 Oct 2009 00:27:08 +0200] rev 9627
rst2man: avoid italic for references
The links to other manpages used both italic and bold text nested
within each other. The \fP (select previous font) macro was used
incorrectly to "reset" the nested fonts resulting in:
<roman> text <italic> <bold> hg <italic> (1) <bold> more text
with no switch back to roman. This stops the bleeding and removes the
ugly italic (underline) from the manpage links.
Martin Geisler <mg@lazybytes.net> [Wed, 21 Oct 2009 23:40:01 +0200] rev 9626
doc: add a style sheet to the generated HTML pages
Matt Mackall <mpm@selenic.com> [Wed, 21 Oct 2009 17:42:22 -0500] rev 9625
summary: remove reference to -p
Martin Geisler <mg@lazybytes.net> [Tue, 20 Oct 2009 22:43:17 +0200] rev 9624
doc, help: stream-line use of inline-literals
Martin Geisler <mg@lazybytes.net> [Tue, 20 Oct 2009 22:16:27 +0200] rev 9623
minirst: convert ``foo`` into "foo" upon display
This lets us markup many more occurances of inline literals since they
no longer look strange in the terminal output.
Martin Geisler <mg@lazybytes.net> [Tue, 20 Oct 2009 22:42:49 +0200] rev 9622
gendoc: fix synopsis
The synopsis is used as an inline literal when generating the manpage.
There should not be any whitespace on the inside of the quotation
marks in inline literals.
Commands with an empty synopsis (such as tags) produces ``tags `` as
synopsis, which triggers a warning.
Martin Geisler <mg@lazybytes.net> [Tue, 20 Oct 2009 22:39:37 +0200] rev 9621
test-debugcomplete: update output to match a7ef354da662
Matt Mackall <mpm@selenic.com> [Tue, 20 Oct 2009 11:59:38 -0500] rev 9620
summary: add --remote
Matt Mackall <mpm@selenic.com> [Tue, 20 Oct 2009 11:58:09 -0500] rev 9619
summary: restore briefer commit status
Matt Mackall <mpm@selenic.com> [Tue, 20 Oct 2009 11:57:25 -0500] rev 9618
summary: add empty repository and no revision checked out hints
Matt Mackall <mpm@selenic.com> [Mon, 19 Oct 2009 23:53:25 -0500] rev 9617
Merge with crew
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Tue, 20 Oct 2009 00:30:36 +0200] rev 9616
merge with crew
Gilles Moris <gilles.moris@free.fr> [Sun, 18 Oct 2009 14:35:36 +0200] rev 9615
setup: refactor the version string to a subset of tag+tagdist-hash+date
Here is an array summarizing the mercurial version string:
[A] [B] [C] [D]
[1] clone tag clean => tag
[2] clone hash clean => latesttag+latesttagdistance-hash
[3] clone tag dirty => tag+date
[4] clone hash dirty => latesttag+latesttagdistance-hash+date
[5] archive tag clean => tag
[6] archive hash clean => latesttag+latesttagdistance-hash
Column [A]: Mercurial built from an hg *archive* or hg *clone* working directory
Column [B]: revision built has a *tag* or else default to the SHA1 *hash*
Column [C]: working tree *clean* or *dirty*
Column [D]: Mercurial version string
Over the previous version:
- row [5] did return just the node hash, now it returns the tag
- prepend the latest tag and the distance to it to rows [2][4][6]
- append also the date to row [3]; previously, it was just the tag
- the version string is with an empty string to avoid possible TypeError
exceptions during string manipulations
- factorize the function to run hg commands; remove the error message as it is
no more specific to the function.
This scheme enables to have first part of the version strings that can be
compared, whether it has been built from a tagged or untagged revision.
The second part of the version adds a hash for untagged revisions and today's
date if the working tree has local modifications.
As the version string does not contain spaces or special characters, it should
not break script parsing the 'hg version' command and should be usable for use
in file names.
The new code also ensure that the version string has exactly the same version
string, whether it has been built from an archive or from a clone.
Gilles Moris <gilles.moris@free.fr> [Tue, 11 Aug 2009 09:04:02 +0200] rev 9614
archive: add branch and tag informations to the .hg_archival.txt file
Up to this changeset, only the repo (first node) and current node hash were
included. This adds also the named branch and tags.
So the additional lines to .hg_archival.txt are
branch: the named branch
tag: the global tags of this revision, one per line in case of multiple tags
latesttag: if the revision is untagged, the latest tag (most recent in
ancestors), again one per line if this ancestor has multiple tags.
latestagdistance: the longest distance (changesets) to this latest ancestor.
Martin Geisler <mg@lazybytes.net> [Tue, 20 Oct 2009 00:17:36 +0200] rev 9613
ui: only use "user@host" as username in noninteractive mode
We regularly see people on IRC ask how they can correct commits they
accidentally made without having configured a username. This change
will make Mercurial abort when a commit is made without a username.
If Mercurial is run without a TTY (from a cronjob or similar), a
username is constructed as usual. Schematically the changes are as
follows:
With ui.askusername=False:
old new
interactive user@host abort
noninteractive user@host user@host
With ui.askusername=True:
old new
interactive prompt prompt
noninteractive user@host user@host
Alexander Solovyov <piranha@piranha.org.ua> [Mon, 19 Oct 2009 23:27:20 +0300] rev 9612
fix patchbomb prompt when sending series of patches
Adrian Buehlmann <adrian@cadifra.com> [Fri, 16 Oct 2009 23:57:34 +0200] rev 9611
hg.clone: report branch name on update
Alexander Solovyov <piranha@piranha.org.ua> [Mon, 19 Oct 2009 22:19:28 +0300] rev 9610
make path expanding more consistent
This expands ~user and $FOO constructs in ui.ignore files, [defaults],
[paths], extension paths, and HGRCPATH files.
Henrik Stuart <hg@hstuart.dk> [Sat, 17 Oct 2009 15:40:34 +0200] rev 9609
tests: fix inadvertent use of existing test repository
David Soria Parra <dsp@php.net> [Mon, 19 Oct 2009 07:14:44 +0200] rev 9608
commands: clarify output for the commit summary
It is not clear what is meant with '2 modified, 3 unknown'. We clarify
this by writing '2 modified files, 3 unknown files' instead.
Martin Geisler <mg@lazybytes.net> [Mon, 19 Oct 2009 14:37:37 +0200] rev 9607
commands: do not split a translated string
Splitting the string after translation relies on the implicit
assumption that translators will always translate the English words
using single foreign words.
Also, when translating we want as much context as possible so I've
moved the string formatting into the translatable string.
Matt Mackall <mpm@selenic.com> [Mon, 19 Oct 2009 00:36:52 -0500] rev 9606
Remove parents from default help in favor of summary
Matt Mackall <mpm@selenic.com> [Mon, 19 Oct 2009 00:22:49 -0500] rev 9605
summary: quieter with -q
Matt Mackall <mpm@selenic.com> [Mon, 19 Oct 2009 00:21:06 -0500] rev 9604
commands: fix missing empty synopses
Matt Mackall <mpm@selenic.com> [Sun, 18 Oct 2009 22:31:05 -0500] rev 9603
Introduce summary command
Mads Kiilerich <mads@kiilerich.com> [Fri, 16 Oct 2009 11:19:39 +0200] rev 9602
Merge with redone c655432c2c24 (issue1860)
Mads Kiilerich <mads@kiilerich.com> [Fri, 16 Oct 2009 11:18:38 +0200] rev 9601
Dummy-merge with c655432c2c24 (issue1860)
Mads Kiilerich <mads@kiilerich.com> [Fri, 16 Oct 2009 11:16:42 +0200] rev 9600
Redo c655432c2c24 (issue1860)
Martin Geisler <mg@lazybytes.net> [Fri, 16 Oct 2009 00:45:18 +0200] rev 9599
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Fri, 16 Oct 2009 00:06:23 +0200] rev 9598
Merge with crew-stable
Bryan O'Sullivan <bos@serpentine.com> [Tue, 13 Oct 2009 13:43:55 -0700] rev 9597
Merge with mpm
Lee Cantey <lcantey@gmail.com> [Tue, 13 Oct 2009 12:27:50 -0700] rev 9596
README: revert accidental commit
Lee Cantey <lcantey@gmail.com> [Tue, 13 Oct 2009 12:23:23 -0700] rev 9595
test-gendoc: adjust output to account for Swedish translation
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sun, 11 Oct 2009 21:32:55 +0200] rev 9594
merge with mpm
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 10 Oct 2009 12:24:09 +0200] rev 9593
merge with crew-stable
Dirkjan Ochtman <dirkjan@ochtman.nl> [Sat, 10 Oct 2009 12:23:42 +0200] rev 9592
merge with mpm
Patrick Mezard <pmezard@gmail.com> [Fri, 09 Oct 2009 00:29:39 +0200] rev 9591
Merge with crew-stable
Benoit Allard <benoit@aeteurope.nl> [Fri, 16 Oct 2009 00:09:18 +0200] rev 9590
mq: fix traceback for qpush inexistant-patch with no patch applied
timeless@mozdev.org [Wed, 14 Oct 2009 20:55:39 +0300] rev 9589
rebase: change rebase help to talk about changesets and branch names
Stephen Rasku <mercurial@srasku.net> [Wed, 14 Oct 2009 21:21:09 -0700] rev 9588
mq: changed help for qpop -f to reflect actual behaviour
Patrick Mezard <pmezard@gmail.com> [Thu, 15 Oct 2009 23:15:30 +0200] rev 9587
convert/svn: better error when hg cannot call itself (issue1838)
Patrick Mezard <pmezard@gmail.com> [Thu, 15 Oct 2009 23:15:30 +0200] rev 9586
patch: handle symlink updates/replacements (issue1785)
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)