test-copy
20 lines
| 255 B
| text/plain
|
TextLexer
/ tests / test-copy
Thomas Arendsen Hein
|
r544 | #!/bin/sh | ||
mpm@selenic.com
|
r363 | |||
set -x | ||||
hg init | ||||
echo a > a | ||||
hg add a | ||||
mpm@selenic.com
|
r749 | hg commit -m "1" -d "0 0" | ||
mpm@selenic.com
|
r363 | hg status | ||
cp a b | ||||
hg copy a b | ||||
hg status | ||||
mpm@selenic.com
|
r749 | hg --debug commit -m "2" -d "0 0" | ||
mpm@selenic.com
|
r363 | hg history | ||
hg log a | ||||
hexdump -C .hg/data/b.d | ||||
mpm@selenic.com
|
r462 | hg cat b > bsum | ||
md5sum bsum | ||||
hg cat a > asum | ||||
md5sum asum | ||||
mpm@selenic.com
|
r363 | hg verify | ||