test-copy
19 lines
| 244 B
| text/plain
|
TextLexer
/ tests / test-copy
|
r544 | #!/bin/sh | ||
|
r363 | |||
hg init | ||||
echo a > a | ||||
hg add a | ||||
|
r749 | hg commit -m "1" -d "0 0" | ||
|
r363 | hg status | ||
cp a b | ||||
hg copy a b | ||||
hg status | ||||
|
r749 | hg --debug commit -m "2" -d "0 0" | ||
|
r363 | hg history | ||
hg log a | ||||
|
r800 | md5sum .hg/data/b.d | ||
|
r462 | hg cat b > bsum | ||
md5sum bsum | ||||
hg cat a > asum | ||||
md5sum asum | ||||
|
r363 | hg verify | ||