Martin Geisler <mg@lazybytes.net> [Sat, 07 Nov 2009 03:04:46 +0100] rev 9738
minirst: prepare for general types of bullet lists
The old code worked for '-' bullets only, but we can easily support
variable width bullets.
Martin Geisler <mg@lazybytes.net> [Fri, 06 Nov 2009 00:30:35 +0100] rev 9737
minirst: combine list parsing in one function
Bullet, option, field, and definition lists were parsed very similar
code. They are now parsed by a single function (splitparagraphs).
Some logic from the old parsing functions has been moved down to
formatblock. This simplifies the parsing while putting the logic where
it's really needed.
Martin Geisler <mg@lazybytes.net> [Thu, 05 Nov 2009 21:53:22 +0100] rev 9736
test-minirst: don't test on invalid reST input
Input such as
Only the
left-most line
(this line!)
is significant
for the indentation
is not valid reStructuredText: the first line starts a block quote,
but then the second line is not allowed to be unindented.
Martin Geisler <mg@lazybytes.net> [Thu, 05 Nov 2009 21:30:50 +0100] rev 9735
minirst: remove unnecessary "elif:" statements
Martin Geisler <mg@lazybytes.net> [Sat, 07 Nov 2009 01:46:27 +0100] rev 9734
commands: call ui.username carefully in debuginstall
After
c63c336ee2f7, 'hg debuginstall' would abort halfway through if
no username was set. We now catch and display the exception instead.
Martin Geisler <mg@lazybytes.net> [Sat, 07 Nov 2009 00:13:05 +0100] rev 9733
mq: do not call ui.username unless it is necessary
After changeset
c63c336ee2f7, ui.username will abort by default if no
username is set. It is therefore wrong to call ui.username when a
username was provided on the command line.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 06 Nov 2009 22:54:51 +0100] rev 9732
util: sort paths in walkrepos() (fixes test failures in test-hgwebdir)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 06 Nov 2009 22:46:46 +0100] rev 9731
hgweb: treat rev as raw-rev if user agent is hg
Marti Raudsepp <marti@juffo.org> [Fri, 06 Nov 2009 13:48:17 +0200] rev 9730
patchbomb: fix 'echo -en' bashism in test-patchbomb
The echo command doesn't accept options in some shells.
printf is required by the SUSv2 (Single UNIX Specification v2).
Jesse Glick <jesse.glick@sun.com> [Thu, 05 Nov 2009 17:38:03 -0500] rev 9729
Issue919: add a standard extension to recreate hardlinks between repositories.
Having to run a standalone Python script from the contrib dir is a nuisance.
Also makes various improvements to locking, file discovery, etc.
Should also update: http://www.selenic.com/mercurial/wiki/index.cgi/RecreateHardlinksBetweenRepositories
Joel Rosdahl <joel@rosdahl.net> [Fri, 06 Nov 2009 08:28:45 +0100] rev 9728
tests: glog with style and file parameter (
issue1896)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Fri, 06 Nov 2009 08:27:17 +0100] rev 9727
graphlog: don't pass filectxs to the templater (
issue1896)
Augie Fackler <durin42@gmail.com> [Mon, 02 Nov 2009 11:03:22 -0500] rev 9726
keepalive: handle broken pipes gracefully during large POSTs
Yannick Gingras <ygingras@ygingras.net> [Thu, 05 Nov 2009 15:18:56 +0100] rev 9725
diff: add --inverse option
Most of the time, one can reverse a diff by swapping the revisions passed with
-r but it happens that if you use the global -R, and diff against the tip of
the current repo, you can't swap the revisions. One use-case for that is
reviewing changes from a bundle before unbundling. One could also pipe the
output of `hg diff` to a command line filter that reverses the diff, but that
would remove the benefit from color diffs. Therefore, having an option in
`hg diff` to reverse a diff is a good thing.
The option flag selection was tricky. GNU patch uses -R/--reverse but -R is
already used as a global option and --reverse would make --rev ambiguous.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Thu, 05 Nov 2009 15:06:35 +0100] rev 9724
hgweb: keep original order from hgwebdir config files (
issue1535)
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.