##// END OF EJS Templates
document and fix findincoming...
document and fix findincoming - add documentation about what the function does, notably the fact that it updates 'base' - transform the workflow to a more simple 'if elif elif else' - do not call remote.branches if not necessary - some nodes where missing in 'base' (from what I understand, if the root of a branch is missing but one parent is present, the parent should be in 'base') - add a testcase for an incorrect outgoing that is fixed by this cset - add a testcase for an empty group bug, it needs fixing

File last commit:

r1933:7544700f default
r2339:11422943 default
Show More
test-rawcommit1
33 lines | 664 B | text/plain | TextLexer
Thomas Arendsen Hein
Don't use 'set -x', fix exports, sed and hexdump usage for Solaris.
r800 #!/bin/sh
mpm@selenic.com
options: kill -d for debug...
r591 hg --debug init
mpm@selenic.com
Add rawcommit tests...
r444 echo this is a1 > a
mpm@selenic.com
options: kill -d for debug...
r591 hg add a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m0 -d "1000000 0"
mpm@selenic.com
Add rawcommit tests...
r444 echo this is b1 > b
mpm@selenic.com
options: kill -d for debug...
r591 hg add b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg commit -m1 -d "1000000 0"
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 1
mpm@selenic.com
Add rawcommit tests...
r444 echo this is c1 > c
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 1 -d "1000000 0" -m2 c
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 2
hg parents
mpm@selenic.com
Add rawcommit tests...
r444 rm b
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 2 -d "1000000 0" -m3 b
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 3
hg parents
mpm@selenic.com
Add rawcommit tests...
r444 echo this is a22 > a
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 3 -d "1000000 0" -m4 a
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 4
hg parents
mpm@selenic.com
Add rawcommit tests...
r444 echo this is c22 > c
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 1 -d "1000000 0" -m5 c
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 5
hg parents
mpm@selenic.com
Add rawcommit tests...
r444 # merge, but no files changed
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 4 -p 5 -d "1000000 0" -m6
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 6
hg parents
mpm@selenic.com
Add rawcommit tests...
r444 # no changes what-so-ever
Thomas Arendsen Hein
Use 'hg ci -d "1000000 0"' in tests to circumvent problem with leading zero....
r1933 hg rawcommit -p 6 -d "1000000 0" -m7
mpm@selenic.com
options: kill -d for debug...
r591 hg manifest 7
hg parents