annotate tests/test-copy @ 501:7ea1c88792bf
Better messages for rollback and undo
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Better messages for rollback and undo
manifest hash: 22eeb8848b0e07e1f23a896b03c37f7d6f4bd82d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwSBtywK+sNU5EO8RAhNEAJ9MGJxgZjIKegh1TA7++wGbAzkovACgqL3I
k1ii4X5PEWEDcoyOp0VqJn4=
=wzlT
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Tue, 28 Jun 2005 02:03:25 -0800 |
parents |
50da4bb9cab6 |
children |
3d4d5f2aba9a 4fc63e22b1fe |
rev |
line source |
363
|
1 #!/bin/bash
|
|
2
|
|
3 set -x
|
|
4 hg init
|
|
5 echo a > a
|
|
6 hg add a
|
|
7 hg commit -t "1" -u test -d "0 0"
|
|
8 hg status
|
|
9 cp a b
|
|
10 hg copy a b
|
|
11 hg status
|
|
12 hg -d commit -t "2" -u test -d "0 0"
|
|
13 hg history
|
|
14 hg log a
|
|
15 hexdump -C .hg/data/b.d
|
462
|
16 hg cat b > bsum
|
|
17 md5sum bsum
|
|
18 hg cat a > asum
|
|
19 md5sum asum
|
363
|
20 hg verify
|