##// END OF EJS Templates
options: kill -d for debug...
options: kill -d for debug -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 options: kill -d for debug You must now use --debug. This is a preparatory step for changing the option parsing from: hg [global-opts] <command> [command-opts] to hg [global-opts] <command> [global or command opts] manifest hash: ec5ecc687340baa109a98b742f1cd8d1f4aadeed -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCx4urywK+sNU5EO8RAl90AJ0fwKU/GwHpJvlTFl5naeJbkceWewCgh4jK kaTSSodACgPzgbFiid5RL4Y= =siEe -----END PGP SIGNATURE-----

File last commit:

r591:eb46971f default
r591:eb46971f default
Show More
test-copy
20 lines | 271 B | text/plain | TextLexer
Thomas Arendsen Hein
Remove bashisms and use /bin/sh instead of /bin/bash....
r544 #!/bin/sh
mpm@selenic.com
Add hg copy...
r363
set -x
hg init
echo a > a
hg add a
hg commit -t "1" -u test -d "0 0"
hg status
cp a b
hg copy a b
hg status
mpm@selenic.com
options: kill -d for debug...
r591 hg --debug commit -t "2" -u test -d "0 0"
mpm@selenic.com
Add hg copy...
r363 hg history
hg log a
hexdump -C .hg/data/b.d
mpm@selenic.com
Fix pipe timing for copy test...
r462 hg cat b > bsum
md5sum bsum
hg cat a > asum
md5sum asum
mpm@selenic.com
Add hg copy...
r363 hg verify