Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 15:01:00 +0100] rev 9723
hgweb: use a tuple-list instead of dictionary for append-only store
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 15:19:54 +0100] rev 9722
templater: readable dates older than 24 months revert to ISO8601 (
issue1006)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 14:44:29 +0100] rev 9721
templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 14:26:37 +0100] rev 9720
coal/paper: show link to latest file revision (
issue1344)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 11:51:35 +0100] rev 9719
tests: fix hghave test for rst2html to not spew error output
Stuart W Marks <smarks@smarks.org> [Thu, 05 Nov 2009 10:59:33 +0100] rev 9718
help: describe new cross-branch behavior in update help text, plus cleanups
Stuart W Marks <smarks@smarks.org> [Thu, 05 Nov 2009 10:53:59 +0100] rev 9717
update: allow branch crossing without -c or -C, with no uncommitted changes
Update will now allow crossing branches within the same named branch,
when given a specific revision, if the working dir is clean, without
requiring the -c or -C option. Abort if no revision is given and
this would cross branches. Minor change to abort message if
uncommitted changes are found.
Modify test-update-branches and output to reflect the altered case. Modify
test-merge5.out to reflect the altered case. Modify
test-up-local-change.out with new message.
Stuart W Marks <smarks@smarks.org> [Thu, 05 Nov 2009 10:53:36 +0100] rev 9716
update: add comments and test cases for updating across branches
Add comment to merge.py:update() showing various cases of 'hg update': to a
descendant, crossing named branches, and crossing branches within a named
branch; with no option, -c or -C; with or without uncommitted changes; and
with or without a specific revision. Add tests for all of these cases.
Marti Raudsepp <marti@juffo.org> [Thu, 05 Nov 2009 10:49:28 +0100] rev 9715
patchbomb: fix handling of email addresses with Unicode domains (IDNA)
dom.encode('idna') requires dom to be a Unicode string.
Adrian Buehlmann <adrian@cadifra.com> [Thu, 05 Nov 2009 11:05:13 +0100] rev 9714
clone: add option -u/--updaterev
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 11:07:01 +0100] rev 9713
hgweb/sshserver: extract capabilities for easier modification
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 10:44:36 +0100] rev 9712
kill trailing whitespace
Martin Geisler <mg@lazybytes.net> [Thu, 05 Nov 2009 01:11:28 +0100] rev 9711
color: wrap qrecord
The qrecord command is registered in uisetup phase, so we do our
wrapping in extsetup phase.
Martin Geisler <mg@lazybytes.net> [Thu, 05 Nov 2009 01:10:43 +0100] rev 9710
record: use uisetup instead of extsetup to register qrecord
New commands should be registered in uisetup so that other extensions
have a change of wrapping them in extsetup.
Sune Foldager <cryo@cyanite.org> [Wed, 04 Nov 2009 15:18:19 +0100] rev 9709
merge: supply base node to merge tools in the environment
Merge tools will be able to exploit this to correctly merge backouts.
This won't work fully, though, until issue 1327 is solved, since the
node information is not necessarily correct.
Martin Geisler <mg@lazybytes.net> [Wed, 04 Nov 2009 09:34:04 +0100] rev 9708
test-bisect: normalize shell error message
Different shells on vary in their error messages. Here we're satisfied
if the shell mentions './foobar' at all.
Greg Ward <greg-hg@gerg.ca> [Mon, 02 Nov 2009 17:06:11 -0500] rev 9707
run-tests: add "debug" mode: don't capture child output, just show it.
In debug mode, we:
- don't try to diff expected vs actual output
- disallow --interactive
- disable timeouts (warn if user tried to supply one)
- don't try to parse hghave output, since we don't have the output
- don't try to save output to .err file
Greg Ward <greg-hg@gerg.ca> [Mon, 02 Nov 2009 17:06:10 -0500] rev 9706
run-tests: make --tmpdir option more useful.
- instead of creating HGTMP inside tmpdir, now HGTMP is tmpdir
(thus, fail if tmpdir already exists)
- passing --tmpdir automatically turns on --keep-tmpdir
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 21:55:59 +0100] rev 9705
hg.1: kill spurious backslash
I believe the backslash prevented asciidoc from automatically turning
"(C)" into a real copyright symbol. This replacement is not done in
reST in the first place.
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 21:47:03 +0100] rev 9704
help: markup email addresses as inline literals
Otherwise we get useless links to user@example.org in the HTML version
of the man pages.
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 21:38:42 +0100] rev 9703
doc/Makefile: add help/*.txt as a dependency
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 21:32:42 +0100] rev 9702
doc: add some internal links to man pages
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 21:08:33 +0100] rev 9701
hgrc.5: combined short paragraphs into one
Short and precise sentences are good, but we can have more than one
such sentence per paragraph.
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 21:02:56 +0100] rev 9700
doc: use reST note directive
The 'NOTE: bla bla' syntax was for asciidoc and is still present in a
couple of docstrings. The docstrings will be converted to reST format
when minirst knows how to handle it.
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 20:53:34 +0100] rev 9699
hgrc.5: capitalize True and False consistently
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 20:50:57 +0100] rev 9698
commands: slightly better help for --traceback
Martin Geisler <mg@lazybytes.net> [Mon, 02 Nov 2009 20:50:30 +0100] rev 9697
hgrc.5: document ui.traceback setting
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 02 Nov 2009 19:07:26 +0100] rev 9696
fix tests output changed by
8269fe2d48f6
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Mon, 02 Nov 2009 17:54:19 +0100] rev 9695
byterange: backport fix from upstream
Sune Foldager <cryo@cyanite.org> [Mon, 02 Nov 2009 10:20:04 +0100] rev 9694
hgweb: send proper error messages to the client
Fixes a bug in protocol which caused an exception during exception handling in
some cases on Windows. Also makes sure the server error message is correctly
propagated to the client, instead of being thrown away.
Sune Foldager <cryo@cyanite.org> [Mon, 02 Nov 2009 10:19:14 +0100] rev 9693
transaction: always remove empty journal on abort
When transactions without entries were aborted, the journal (of size 0) was not
unlinked, which prevents subsequent operations until hg recover is run on the
repository.
We also make sure the journal is unlinked when committing, even if the provided
hook doesn't do so.
Sune Foldager <cryo@cyanite.org> [Mon, 02 Nov 2009 10:18:43 +0100] rev 9692
test-bisect: fix shell-dependent output
Sune Foldager <cryo@cyanite.org> [Mon, 02 Nov 2009 10:17:20 +0100] rev 9691
change 'journal already exists' to 'abandoned transaction found'
Journal already exists is a pretty internal piece of information, which
doesn't necessarily mean much to people who are not familiar with the code.
The new text is a more well-known concept.
Sune Foldager <cryo@cyanite.org> [Mon, 02 Nov 2009 10:15:04 +0100] rev 9690
verify: report existence of journal
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 01 Nov 2009 03:26:10 +0100] rev 9689
bisect: no need to save the state if it wasn't changed
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 01 Nov 2009 02:57:11 +0100] rev 9688
record: get the right position (account for skipped files)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 01 Nov 2009 02:54:32 +0100] rev 9687
log --limit: break after a limited number of csets (broken by
f3d60543924f)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 18:17:59 +0100] rev 9686
transaction: more specific exceptions, os.unlink can raise OSError
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 18:10:52 +0100] rev 9685
lock: catch specific exceptions
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 18:02:34 +0100] rev 9684
patch: use the public ctx API instead of the internals
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 18:02:13 +0100] rev 9683
patch: don't use mutable object as default argument
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 18:01:08 +0100] rev 9682
patch: initialize all attributes of the hunk class
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 18:00:05 +0100] rev 9681
patch: simplify logic
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 17:07:12 +0100] rev 9680
lock: use '==' instead of 'is' for integer equality ('is' may not work)
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 17:04:46 +0100] rev 9679
pychecker: remove unused local variables
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 16:56:58 +0100] rev 9678
remove unused imports
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 16:49:27 +0100] rev 9677
changelog: do not use a mutable default value
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 16:42:51 +0100] rev 9676
bundlerepo: keep the bundlerevlog interface in sync with revlog
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 00:31:08 +0100] rev 9675
localrepo/branchcache: remove lbranchmap(), convert users to use utf-8 names
We don't need a "local-charset" aware branchmap() function, we can convert the
names when needed during the output.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 00:27:50 +0100] rev 9674
localrepo/branchcache: kill unused localrepo.branchcache
The UTF-8 version of the branchcache is the master, always up-to-date, we can
rename it to localrepo._branchcache.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 31 Oct 2009 00:20:28 +0100] rev 9673
localrepo/branchcache: rebuild the "charset-aware" branchcache when needed
It's simpler and the two cache weren't always in sync otherwise:
localrepo.branchcache would not be updated after calling branchmap()
Alexander Solovyov <piranha@piranha.org.ua> [Fri, 30 Oct 2009 15:43:01 +0200] rev 9672
churn: fix --progress (broken by
f3d60543924f)
Henrik Stuart <henrik.stuart@edlund.dk> [Mon, 26 Oct 2009 13:37:39 +0100] rev 9671
transfer branchmap branch names over the wire in utf-8
Alexander Solovyov <piranha@piranha.org.ua> [Fri, 30 Oct 2009 13:40:23 +0200] rev 9670
churn: fix changeset count (broken by
9b127e888640)
Alexander Solovyov <piranha@piranha.org.ua> [Thu, 29 Oct 2009 20:50:24 +0200] rev 9669
churn: ability to display added/removed lines separately
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 30 Oct 2009 09:54:39 +0100] rev 9668
cmdutil: fix bug in finddate() implementation
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 30 Oct 2009 09:53:39 +0100] rev 9667
merge changes from mpm
Steve Borho <steve@borho.org> [Wed, 28 Oct 2009 22:47:46 -0500] rev 9666
cmdutil: update finddate()
walkchangerevs() now returns contexts, does not take a cache func.
Matt Mackall <mpm@selenic.com> [Thu, 29 Oct 2009 19:03:16 -0500] rev 9665
walkchangerevs: drop ui arg
Matt Mackall <mpm@selenic.com> [Thu, 29 Oct 2009 19:03:13 -0500] rev 9664
walkchangerevs: reset cache between windows
Matt Mackall <mpm@selenic.com> [Thu, 29 Oct 2009 17:07:54 -0500] rev 9663
log: tidy up some filter tests
Matt Mackall <mpm@selenic.com> [Thu, 29 Oct 2009 17:07:51 -0500] rev 9662
walkchangerevs: move 'add' to callback
Now walkchangerevs is a simple iterator over contexts
Yuya Nishihara <yuya@tcha.org> [Wed, 28 Oct 2009 23:59:18 +0900] rev 9661
hgweb: added test case for extension loading phases (
issue1824)
this checks the order of module loading phases of hgweb.
`4) reposetup' lines are duplicated because hgweb calls
hg.repository() twice, one by __init__, another by refresh.
Yuya Nishihara <yuya@tcha.org> [Wed, 28 Oct 2009 23:55:23 +0900] rev 9660
extensions: changed to call extsetup() from extensions.loadall()
previously uisetup() was invoked by extensions.loadall(), but
extsetup() was by _dispatch().
there's no need to split them because we have nothing to do
between uisetup() and extsetup().
this fixes
issue1824 indirectly.
Adrian Buehlmann <adrian@cadifra.com> [Wed, 21 Oct 2009 13:40:55 +0200] rev 9659
hgrc.5.txt: mention hgrc categories with higher precedence first
Reordering the FILES section accordingly.
The previous ordering of categories might have been nice from the
viewpoint of a site admin doing an initial install, but presenting a
higher-precedence-first ordering is more relevant and natural for the
average end user, since he will most likely resort to editing rc files
in the order of their precedence, overriding whatever "sane" defaults
are coming from more general files.
Note that this patch does not change the texts, it just moves them.
So, whatever bugs, grammar errors, or typos may have been in the texts
before this patch: they are still there. On purpose. Because this patch
here does not want to reword texts while moving them.
Sune Foldager <cryo@cyanite.org> [Wed, 28 Oct 2009 21:35:57 +0100] rev 9658
hook: only redirect stdout if it and stderr are valid files
When using hgwebdir with WSGI via the IIS ISAPI-WSGI extension, both
stdout and stderr filenos are set to -2, which makes the os.dup call
in hook.py fail.
Matt Mackall <mpm@selenic.com> [Wed, 28 Oct 2009 13:17:03 -0500] rev 9657
verify: filter the candidate list for broken linkrevs
Matt Mackall <mpm@selenic.com> [Tue, 27 Oct 2009 17:14:19 -0500] rev 9656
Merge with crew
Matt Mackall <mpm@selenic.com> [Tue, 27 Oct 2009 17:01:32 -0500] rev 9655
walkchangerevs: internalize ctx caching
Matt Mackall <mpm@selenic.com> [Sun, 25 Oct 2009 18:43:59 -0500] rev 9654
walkchangerevs: yield contexts
Matt Mackall <mpm@selenic.com> [Sun, 25 Oct 2009 18:43:58 -0500] rev 9653
walkchangerevs: kill window step of iterator
Matt Mackall <mpm@selenic.com> [Sun, 25 Oct 2009 18:43:56 -0500] rev 9652
walkchangerevs: pull out matchfn
* * *
imported patch mercurial/commands.py
Yuya Nishihara <yuya@tcha.org> [Tue, 27 Oct 2009 21:59:44 +0900] rev 9651
diffstat: made test case work with POSIX sh and printf
* arithmetic expression ((...)), without $, is bashism.
* printf '\xXX' seems non-standard. '\0' is okay.
http://www.opengroup.org/onlinepubs/
009695399/utilities/printf.html
tested with bash 4.0 and dash 0.5.5.1
Sune Foldager <cryo@cyanite.org> [Tue, 27 Oct 2009 10:33:41 +0100] rev 9650
bundlerepo: fix small bug in exception raising
timeless@mozdev.org [Sun, 25 Oct 2009 14:45:38 +0200] rev 9649
minor documentation improvements
Alexander Solovyov <piranha@piranha.org.ua> [Sun, 25 Oct 2009 14:28:02 +0100] rev 9648
patchbomb: accept default if it is empty string
This fixes Cc: prompt.
Martin Geisler <mg@lazybytes.net> [Sun, 25 Oct 2009 14:24:39 +0100] rev 9647
patchbomb: fix double-spaces in prompts
timeless <timeless@gmail.com> [Sun, 25 Oct 2009 13:27:54 +0100] rev 9646
commands: adding --no-status to resolve to match status
timeless@mozdev.org [Wed, 21 Oct 2009 12:41:28 +0300] rev 9645
commands: use rev from remote repo when updating as part of a pull
timeless@mozdev.org [Wed, 21 Oct 2009 12:03:14 +0300] rev 9644
commands: highlighting that rev is based on the remote repository
Alexander Solovyov <piranha@piranha.org.ua> [Sun, 25 Oct 2009 12:05:07 +0200] rev 9643
bookmarks: use API to determine if repo is local
Brodie Rao <me+hg@dackz.net> [Sun, 25 Oct 2009 02:53:33 +0200] rev 9642
diffstat: with --git, mark binary files with Bin
Normally, diffs without any text insertions or deletions are reported
as having 0 lines changed by stock diffstat. Compatibility is
preserved with stock diffstat in this case, but when using --git,
binary files are marked with Bin as a means of clarification.
git diff --stat does something similar, though it also includes the
old and new file sizes.
Brodie Rao <me+hg@dackz.net> [Sun, 25 Oct 2009 02:52:36 +0200] rev 9641
color: colorize diff --stat
Brodie Rao <me+hg@dackz.net> [Sun, 25 Oct 2009 02:52:35 +0200] rev 9640
diff: add --stat for diffstat output
diff/qdiff --stat invokes patch.diffstat() on the diff output.
When in interactive mode, the output's maximum width is determined by the
terminal's width.
Brodie Rao <me+hg@dackz.net> [Sun, 25 Oct 2009 02:35:35 +0200] rev 9639
diffstat: print 0 instead of nothing for 0 adds or removes
This is in line with how the stock diffstat behaves when processing a
single diff with no line modifications (like a binary diff).
Gilles Moris <gilles.moris@free.fr> [Sat, 24 Oct 2009 12:29:39 +0200] rev 9638
update tcsh_completion for the new forget and summary commands
Adrian Buehlmann <adrian@cadifra.com> [Sat, 24 Oct 2009 19:01:40 +0200] rev 9637
cmdutil: minor refactoring of changeset_printer._show
- use ctx.branch() instead of directly accessing the extra field "branch"
- move definitions of locals ('extra' and 'branch') down to where they
are used
Martin Geisler <mg@lazybytes.net> [Sat, 24 Oct 2009 00:29:25 +0200] rev 9636
commands: search for translated version of "DEPRECATED"
The option description is already translated at this point, so we must
search for a translation of "DEPRECATED".
Gilles Moris <gilles.moris@free.fr> [Fri, 23 Oct 2009 23:10:05 +0200] rev 9635
mercurial.spec: update requirements for the build
Martin Geisler <mg@lazybytes.net> [Fri, 23 Oct 2009 22:55:28 +0200] rev 9634
convert: document parent order in splicemap help (
issue1764)
Pascal Quantin <pascal.quantin@gmail.com> [Thu, 22 Oct 2009 23:41:01 +0200] rev 9633
Add style.css file to Inno Setup script
Nicolas Dumazet <nicdumz.commits@gmail.com> [Mon, 21 Sep 2009 19:21:32 +0200] rev 9632
util: use sys.argv[0] if $HG is unset and 'hg' is not in PATH
This is necessary when the executable name is not 'hg'. For example,
if your system-wide mercurial is name 'hgs', sys.argv[0] is more
accurate than 'hg'.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Wed, 21 Oct 2009 14:16:37 +0200] rev 9631
graphlog: hide internal state of ascii() from users
Adrian Buehlmann <adrian@cadifra.com> [Thu, 22 Oct 2009 00:46:54 +0200] rev 9630
doc/hgrc.5.txt: deprecate [defaults]
Quoting Matt:
"Defaults are a bad idea. They are deprecated. Don't use them. Don't
recommend them. Forget they existed. Use aliases."
in http://selenic.com/pipermail/mercurial-devel/2009-October/016095.html
Matt Mackall <mpm@selenic.com> [Wed, 21 Oct 2009 17:54:51 -0500] rev 9629
Merge with crew
Martin Geisler <mg@lazybytes.net> [Thu, 22 Oct 2009 00:30:24 +0200] rev 9628
rst2man: highlight inline literals in bold
The old code would switch to Courier, but that doesn't really help
much in a manpage.
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