Sune Foldager <cryo@cyanite.org> [Thu, 10 Jun 2010 12:46:09 +0200] rev 11322
improve --branch processing (and differentiate from # syntax)
Previously #foo and --branch foo were handled identically.
The behavior of #foo hasn't changed, but --branch now works like this:
1) If branchmap is not supported on the remote, the operation fails.
2) If branch is '.', substitute with branch of the working dir parent.
3) If branch exists remotely, its heads are expanded.
4) Otherwise, the operation fails.
Tests have been added for the new cases.
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 06 Jun 2010 17:25:00 +0900] rev 11321
help: show value requirement and multiple occurrence of options
this helps users to know what kind of option is:
- no value is required(flag option)
- value is required
- value is required, and multiple occurrences are allowed
each kinds are shown as below:
-f --force force push
-e --ssh CMD specify ssh command to use
-b --branch BRANCH [+] a specific branch you would like to push
if one or more 3rd type options are shown, explanation for '[+]' mark
is also shown as footnote.
Christian Ebert <blacktrash@gmx.net> [Wed, 09 Jun 2010 12:45:48 +0100] rev 11320
keyword: pass context to kwtemplater.overwrite
Now that we have retrieved the context in every calling function
except commit, pass it as argument to kwtemplater.overwrite to
avoid looking it up twice.
Reorder arguments to kwtemplater.overwrite to reflect their
importance.
Turn node argument into a simple boolean and rename it to iswctx.
Peter Arrenbrecht <peter.arrenbrecht@gmail.com> [Tue, 08 Jun 2010 16:27:59 +0200] rev 11319
parser: fix missing param in _match
Gilles Moris <gilles.moris@free.fr> [Tue, 08 Jun 2010 22:30:44 +0200] rev 11318
commit: add tests for the 'created new head' message
Gilles Moris <gilles.moris@free.fr> [Tue, 08 Jun 2010 22:28:42 +0200] rev 11317
commit: fix display of 'created new head' message (issue2186)
To avoid recurrent fixes for the display of this message, a summary table with
all case combinations has been added to the code.
Basically, there is two condition for the message to be printed:
* this is not an initial (named branch or topo) root
* none of the parents are in the current branch heads
Stefano Tortarolo <stefano.tortarolo@gmail.com> [Tue, 08 Jun 2010 18:01:07 +0200] rev 11316
rebase: --abort doesn't strip away the target changeset (issue2220)
When a changeset is skipped, rebase keeps the previous target as next
target and if the skipped cset is the first one, the recorded target is
actually the original target.
--abort did not detect this situation but simply stripped away the cset.
Jan Sorensen <js@aragost.com> [Wed, 09 Jun 2010 17:22:59 +0200] rev 11315
test-branch-option: Updated output to match rev 3f1409082720
Martin Geisler <mg@aragost.com> [Wed, 09 Jun 2010 17:50:45 +0200] rev 11314
Merge with mpm
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 09 Jun 2010 17:27:47 +0200] rev 11313
discovery: fix description line
Matt Mackall <mpm@selenic.com> [Tue, 08 Jun 2010 15:57:59 -0500] rev 11312
Merge with stable
Steve Borho <steve@borho.org> [Tue, 08 Jun 2010 15:52:56 -0500] rev 11311
Merge backout
Steve Borho <steve@borho.org> [Tue, 08 Jun 2010 15:52:41 -0500] rev 11310
Backed out changeset: e1dde7363601
Thomas Arendsen Hein <thomas@intevation.de> [Tue, 08 Jun 2010 21:09:41 +0200] rev 11309
ui: handle leading newlines/spaces/commas in configlist
Thanks to Greg Ward for spotting the problem introduced in 0a548640e012
and for supplying the test case.
Steve Borho <steve@borho.org> [Tue, 08 Jun 2010 11:58:09 -0500] rev 11308
mergetools: add configuration for Ultra Compare (issue2226)
Initial config provided by Tim Pietzcker
Martin Geisler <mg@aragost.com> [Tue, 08 Jun 2010 14:12:46 +0200] rev 11307
mq: use hg reST role some more
Sune Foldager <cryo@cyanite.org> [Tue, 08 Jun 2010 13:19:22 +0200] rev 11306
fix encoding bug in 05ac42e56452
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 08 Jun 2010 09:30:45 +0200] rev 11305
cleanups: undefined variables
Dirkjan Ochtman <dirkjan@ochtman.nl> [Tue, 08 Jun 2010 09:30:33 +0200] rev 11304
cleanups: unused variables
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 07 Jun 2010 20:03:32 +0200] rev 11303
move working dir/dirstate methods from localrepo to workingctx
Steve Borho <steve@borho.org> [Thu, 03 Jun 2010 23:18:18 -0500] rev 11302
color: labeled text should be passed to ui.write() as ui.labeled
Some implementations of ui.label() (HTML versions in particular) must escape
the provided text and then markup the text with their tags. When this marked
up text is then passed to ui.write(), we must label the text as 'ui.labeled'
so the implementation knows not to escape it a second time (exposing the initial
markup).
This required the addition of a 'ui.plain' label for text that is purposefully
not marked up.
I was a little pedantic here, passing even ' ' strings to ui.label() when it
would be included with other labeled text in a ui.write() call. But it seemed
appropriate to lean to the side of caution.
Dirkjan Ochtman <dirkjan@ochtman.nl> [Mon, 07 Jun 2010 18:35:54 +0200] rev 11301
move discovery methods from localrepo into new discovery module
Sune Foldager <cryo@cyanite.org> [Mon, 07 Jun 2010 16:29:06 +0200] rev 11300
merge with stable
Sune Foldager <cryo@cyanite.org> [Mon, 07 Jun 2010 16:28:23 +0200] rev 11299
push/pull: fix bug in "--branch ." handling
The branch wasn't expanded, so only the tip was operated on.
Pradeepkumar Gayam <in3xes@gmail.com> [Sun, 06 Jun 2010 22:39:32 +0530] rev 11298
shrink-repo: wrong variable name
FUJIWARA Katsunori <foozy@lares.dti.ne.jp> [Sun, 06 Jun 2010 17:20:10 +0900] rev 11297
replace Python standard textwrap by MBCS sensitive one for i18n text
Mercurial has problem around text wrapping/filling in MBCS encoding
environment, because standard 'textwrap' module of Python can not
treat it correctly. It splits byte sequence for one character into two
lines.
According to unicode specification, "east asian width" classifies
characters into:
W(ide), N(arrow), F(ull-width), H(alf-width), A(mbiguous)
W/N/F/H can be always recognized as 2/1/2/1 bytes in byte sequence,
but 'A' can not. Size of 'A' depends on language in which it is used.
Unicode specification says:
If the context(= language) cannot be established reliably they
should be treated as narrow characters by default
but many of class 'A' characters are full-width, at least, in Japanese
environment.
So, this patch treats class 'A' characters as full-width always for
safety wrapping.
This patch focuses only on MBCS safe-ness, not on writing/printing
rule strict wrapping for each languages
MBCS sensitive textwrap class is originally implemented
by ITO Nobuaki <daydream.trippers@gmail.com>.
Christian Ebert <blacktrash@gmx.net> [Thu, 03 Jun 2010 10:37:31 +0100] rev 11296
keyword: use context to detect uncommitted merge
Adrian Buehlmann <adrian@cadifra.com> [Thu, 03 Jun 2010 13:58:00 +0200] rev 11295
tests: use --debug on test-clone
Greg Ward <greg-hg@gerg.ca> [Thu, 03 Jun 2010 10:18:33 -0400] rev 11294
shrink-revlog: use util.mktempcopy() to preserve mode of index file.
(There's still a chmod() call to manually preserve the mode of the
data file.)
Matt Mackall <mpm@selenic.com> [Sat, 05 Jun 2010 09:58:02 -0500] rev 11293
revset: delay import of hg to avoid start-up import loops