##// END OF EJS Templates
patch: return list of modified files even when an exception is raised...
patch: return list of modified files even when an exception is raised The file list is passed in as an argument and updated in place. This fixes issue399.

File last commit:

r3071:547d1a4a default
r3465:2d35a8d2 default
Show More
test-branch
34 lines | 475 B | text/plain | TextLexer
Benoit Boissinot
hg merge: fix lookup of branch...
r3071 #!/bin/sh
#
# test for branch handling
#
# XXX: need more tests
hg init
echo a > a
echo b > b
hg ci -A -m 0 -d "1000000 0"
echo aa > a
echo bb > b
hg ci -m 1 -d "1000000 0"
hg tag -l foo
hg update 0
hg parents -b
# test update
hg update -b foo
hg parents
# test merge
hg update 0
echo c > c
hg ci -A -m 0.0 -d "1000000 0"
hg merge -b foo
hg parents -b
# re-test with more branches
hg update -C 0
echo d > d
hg ci -A -m 0.0 -d "1000000 0"
hg merge -b foo
hg parents -b