Christian Ebert <blacktrash@gmx.net> [Sun, 10 Oct 2010 00:38:57 +0100] rev 12685
keyword: enforce subn method via boolean switch
There are only 2 patterns to choose, and so far only 1 case
where kwtemplater.re_kw.subn is applied on data read from
the working directory: when recording added files.
With this change the code reflects more closely the boolean
character of the switch and underlines the special case.
Christian Ebert <blacktrash@gmx.net> [Sun, 10 Oct 2010 00:30:09 +0100] rev 12684
keyword: fix weeding of expansion candidates when recording
Rearrange tests to check this, i.e. that there are changes
in other files, not only the recorded one.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sun, 10 Oct 2010 09:48:37 -0500] rev 12683
copies: don't detect copies as "divergent renames"
(For the purposes of this patch copy is defined as a rename where the
source continues to exist.)
Augie Fackler <durin42@gmail.com> [Sat, 09 Oct 2010 11:02:11 -0500] rev 12682
strip: add --keep flag to avoid modifying wc during strip
Fixes
issue1564.
Brodie Rao <brodie@bitheap.org> [Sat, 09 Oct 2010 17:02:28 -0500] rev 12681
update: use higher level wording for "crosses branches" error
When using "hg update" to update to a revision on another branch, if
the user has uncommitted changes in the working directory, hg aborts
with the following message:
abort: crosses branches (use 'hg merge' to merge or use 'hg update
-C' to discard changes)
If the user isn't trying to update to tip and they follow the command
examples verbatim, they would end up updating to the wrong revision.
This patch removes the command examples in favor of just telling the
user to either merge or use --clean:
abort: crosses branches (merge branches or use --clean to discard
changes)
hg also aborts if the user tries to use "hg update" to get to tip
(without specifying a revision) and tip is on another branch:
abort: crosses branches (use 'hg merge' or use 'hg update -c')
This message is changed in the same fashion:
abort: crosses branches (merge branches or use --check to force
update)
Augie Fackler <durin42@gmail.com> [Sat, 09 Oct 2010 17:58:48 -0500] rev 12680
hgweb: add help link to templates missed in
ead4e21f49f1
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Sat, 09 Oct 2010 17:58:54 -0500] rev 12679
test-convert-svn-encoding.t: ignore that subversion %-encodes $TESTTMP
Use a glob instead of expecting $TESTTMP.
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 09 Oct 2010 16:27:10 -0500] rev 12678
run-tests.py: remove support for .bat files
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sat, 09 Oct 2010 16:25:28 -0500] rev 12677
run-tests.py: do not install hg when the tests do no exist
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:40:29 -0500] rev 12676
setup.py: write libdir as a python string literal
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12675
patch: fails immediately upon malformed hunk
patch(1) does silently ignore malformed hunks but this is not something we want
to copy.
Patrick Mezard <pmezard@gmail.com> [Sat, 09 Oct 2010 15:13:08 -0500] rev 12674
patch: always raise PatchError with a message, simplify handling