annotate tests/test-copy @ 464:50da4bb9cab6
Merge from http://moffetthome.net:8012/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Merge from http://moffetthome.net:8012/
manifest hash:
3a67864af6b0276eabe640274633ca2625dbd4a5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCvQKkywK+sNU5EO8RArUHAKCSGtpEfJwYGoAIpj4mBDvcPted9wCgnzML
xr8WQ8DdPkJ9DVsLjvsbhJU=
=O7Fd
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Fri, 24 Jun 2005 23:07:16 -0800 |
parents |
512d76558bd4 ae96b7e1318d |
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
|