test-rawcommit1
33 lines
| 616 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
|
r1308 | hg commit -m0 -d "0 0" | ||
mpm@selenic.com
|
r444 | echo this is b1 > b | ||
mpm@selenic.com
|
r591 | hg add b | ||
Thomas Arendsen Hein
|
r1308 | hg commit -m1 -d "0 0" | ||
mpm@selenic.com
|
r591 | hg manifest 1 | ||
mpm@selenic.com
|
r444 | echo this is c1 > c | ||
mpm@selenic.com
|
r749 | hg rawcommit -p 1 -d "0 0" -m2 c | ||
mpm@selenic.com
|
r591 | hg manifest 2 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | rm b | ||
mpm@selenic.com
|
r749 | hg rawcommit -p 2 -d "0 0" -m3 b | ||
mpm@selenic.com
|
r591 | hg manifest 3 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | echo this is a22 > a | ||
mpm@selenic.com
|
r749 | hg rawcommit -p 3 -d "0 0" -m4 a | ||
mpm@selenic.com
|
r591 | hg manifest 4 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | echo this is c22 > c | ||
mpm@selenic.com
|
r749 | hg rawcommit -p 1 -d "0 0" -m5 c | ||
mpm@selenic.com
|
r591 | hg manifest 5 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | # merge, but no files changed | ||
mpm@selenic.com
|
r749 | hg rawcommit -p 4 -p 5 -d "0 0" -m6 | ||
mpm@selenic.com
|
r591 | hg manifest 6 | ||
hg parents | ||||
mpm@selenic.com
|
r444 | # no changes what-so-ever | ||
mpm@selenic.com
|
r749 | hg rawcommit -p 6 -d "0 0" -m7 | ||
mpm@selenic.com
|
r591 | hg manifest 7 | ||
hg parents | ||||