test-rawcommit1
33 lines
| 664 B
| text/plain
|
TextLexer
/ tests / test-rawcommit1
Thomas Arendsen Hein
|
r800 | #!/bin/sh | ||
mpm@selenic.com
|
r591 | hg --debug init | ||
mpm@selenic.com
|
r444 | echo this is a1 > a | ||
mpm@selenic.com
|
r591 | hg add a | ||
Thomas Arendsen Hein
|
r1933 | hg commit -m0 -d "1000000 0" | ||
mpm@selenic.com
|
r444 | echo this is b1 > b | ||
mpm@selenic.com
|
r591 | hg add b | ||
Thomas Arendsen Hein
|
r1933 | hg commit -m1 -d "1000000 0" | ||
mpm@selenic.com
|
r591 | hg manifest 1 | ||
mpm@selenic.com
|
r444 | echo this is c1 > c | ||
Thomas Arendsen Hein
|
r1933 | hg rawcommit -p 1 -d "1000000 0" -m2 c | ||
mpm@selenic.com
|
r591 | hg manifest 2 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | rm b | ||
Thomas Arendsen Hein
|
r1933 | hg rawcommit -p 2 -d "1000000 0" -m3 b | ||
mpm@selenic.com
|
r591 | hg manifest 3 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | echo this is a22 > a | ||
Thomas Arendsen Hein
|
r1933 | hg rawcommit -p 3 -d "1000000 0" -m4 a | ||
mpm@selenic.com
|
r591 | hg manifest 4 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | echo this is c22 > c | ||
Thomas Arendsen Hein
|
r1933 | hg rawcommit -p 1 -d "1000000 0" -m5 c | ||
mpm@selenic.com
|
r591 | hg manifest 5 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | # merge, but no files changed | ||
Thomas Arendsen Hein
|
r1933 | hg rawcommit -p 4 -p 5 -d "1000000 0" -m6 | ||
mpm@selenic.com
|
r591 | hg manifest 6 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | # no changes what-so-ever | ||
Thomas Arendsen Hein
|
r1933 | hg rawcommit -p 6 -d "1000000 0" -m7 | ||
mpm@selenic.com
|
r591 | hg manifest 7 | ||
hg parents | ||||