John Mulligan <phlogistonjohn@asynchrono.us> [Wed, 14 Jan 2009 21:47:38 -0500] rev 7656
branch closing: referencing open and closed branches/heads
Treat fully closed branches similarly to "inactive" in the output of
'hg branches'. They will be suffixed with "(closed)" where inactive branches
are marked with "(inactive)". If the -a/--active option is given both
inactive and closed branches will not be shown.
Partially closed branches (multiple heads, at least one not closed)
will display the next (tipmost) open head.
Add -a/--active option to "hg heads" which will hide closed heads iff the
option is specified.
In other hg commands, when multiple branch heads exist the branch name will
refer to the tipmost open head, and if none exist, then the tipmost closed
head.
John Mulligan <phlogistonjohn@asynchrono.us> [Wed, 14 Jan 2009 21:47:38 -0500] rev 7655
branch closing: mark closed branches with a 'close' extra
Adds a --close-branch option to commit.
When --close-branch is present the commit will mark the changeset
with close=1 in the changeset extras field.
If a regular changeset is added on top of a closed head the branch
is no longer considered closed, and thus re-opened.
John Mulligan <phlogistonjohn@asynchrono.us> [Wed, 14 Jan 2009 21:47:38 -0500] rev 7654
store all heads of a branch in the branch cache
All heads of branches will be stored in a new cache file 'branchheads.cache'
within the .hg directory. The old 'branch.cache' file from older versions
will be ignored.
The new cache contents are formatted line-by-line as '{node} {branchtag}\n'.
This is the same as the previous format. Now, every head is recorded in
an oldest -> tipmost order.
The localrepo.branchheads function is reworked to use the data from the cache.
Martin Geisler <mg@daimi.au.dk> [Thu, 15 Jan 2009 20:23:18 +0100] rev 7653
i18n: make local now builds .mo files
Martin Geisler <mg@daimi.au.dk> [Thu, 15 Jan 2009 15:28:42 +0100] rev 7652
i18n: beginnings of a Danish translation
Martin Geisler <mg@daimi.au.dk> [Thu, 15 Jan 2009 00:14:36 +0100] rev 7651
i18n: encode output in user's local encoding
This makes the translated output obey the HGENCODING environment
variable or the preferred encoding as set by the LANG or LC_ALL
environment variables.
Python 2.4 has a lgettext method which is similar, except that it
doesn't know about HGENCODING or the settings in .hgrc.
Martin Geisler <mg@daimi.au.dk> [Thu, 15 Jan 2009 00:12:35 +0100] rev 7650
i18n: lookup .mo files in private locale/ directory
This default is to look for /usr/share/locale/xx/LC_MESSAGES/hg.mo for
language xx, but this code will instead do the lookup from locale/ or
mercurial/locale/ relative to the root of the Mercurial source tree.
Martin Geisler <mg@daimi.au.dk> [Thu, 15 Jan 2009 00:11:54 +0100] rev 7649
i18n: new build_mo command for setup.py
This command will generate .mo files under locale/ for the .po files
found under i18n/.
Martin Geisler <mg@daimi.au.dk> [Thu, 15 Jan 2009 00:10:54 +0100] rev 7648
i18n: let Makefile generate i18n/hg.pot
The target update-pot extracts strings using pygettext and updates the
i18n/hg.pot file. The translators can then use msgmerge to merge the
new strings in hg.pot with their xx.po file when they want to.
The setup.py file now includes files under both templates/ and i18n/
as data files.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Thu, 15 Jan 2009 11:41:59 +0100] rev 7647
recover when no version information is available
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 13:51:43 -0600] rev 7646
error: move SignatureError
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 13:35:35 -0600] rev 7645
dispatch: sort exception handlers
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 11:48:05 -0600] rev 7644
error: move SignalInterrupt
now derived from KeyboardInterrupt to simplify catches
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 11:39:38 -0600] rev 7643
error: move UnknownCommand and AmbiguousCommand
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 11:28:30 -0600] rev 7642
sshrepo: change raise_ to abort
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 11:28:28 -0600] rev 7641
error: move UnexpectedOutput (now ResponseError)
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 11:09:14 -0600] rev 7640
error: move lock errors
rename LockException to LockError
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 10:59:08 -0600] rev 7639
mq: remove import of revlog
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 10:53:41 -0600] rev 7638
bookmarks; clean up imports and function wrapping
Matt Mackall <mpm@selenic.com> [Mon, 12 Jan 2009 10:42:31 -0600] rev 7637
error: move repo errors
rename NoCapability to CapabilityError
Matt Mackall <mpm@selenic.com> [Sun, 11 Jan 2009 23:04:24 -0600] rev 7636
error: move ParseError
Matt Mackall <mpm@selenic.com> [Sun, 11 Jan 2009 23:00:09 -0600] rev 7635
kill imerge.py
It's been broken for a while.
Matt Mackall <mpm@selenic.com> [Sun, 11 Jan 2009 22:55:36 -0600] rev 7634
revlog: kill from-style imports
They're slow.
Matt Mackall <mpm@selenic.com> [Sun, 11 Jan 2009 22:48:28 -0600] rev 7633
errors: move revlog errors
- create error.py for exception classes to reduce demandloading
- move revlog exceptions to it
- change users to import error and drop revlog import if possible
Matt Mackall <mpm@selenic.com> [Sat, 10 Jan 2009 18:02:38 -0600] rev 7632
refactor version code
- simplify version detection code
- move detection code into setup.py
- move version reading function into util.py
- drop version.py code
This makes hg more closely follow its own recommendation of how to deal with
versioning your builds: use hg id in your build script.
Patrick Mezard <pmezard@gmail.com> [Tue, 13 Jan 2009 23:17:19 +0100] rev 7631
Merge with crew-stable
Patrick Mezard <pmezard@gmail.com> [Tue, 13 Jan 2009 22:41:06 +0100] rev 7630
merge: fix execute bit update issue introduced by
89207edf3973
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 13 Jan 2009 13:43:42 +0100] rev 7629
transplant: move docstrings before imports (see
issue1466)
Stepan Koltsov <yozh@mx1.ru> [Tue, 13 Jan 2009 10:44:16 +0100] rev 7628
diff: add --change option to display single changeset diff (
issue1420)
Martin Geisler <mg@daimi.au.dk> [Sat, 03 Jan 2009 17:15:21 +0100] rev 7627
mq: lowercase output
This extension produces quite a lot of informational messages during
its normal operation and it is hard to say which strings can be
changed and which cannot.