tests/test-copy
author mpm@selenic.com
Fri, 24 Jun 2005 12:28:09 -0800
changeset 457 12e0fdbc57a0be78f0e817fd1d170a3615cd35da
parent 363 ae96b7e1318dfc1b09cdf4797a197d703a3ddbfb
child 462 512d76558bd4affd57ec78e4ad482ccdd4a2fa3f
child 464 50da4bb9cab6c78f04fdb3d6fa8906ced445b3d2
permissions -rwxr-xr-x
Release tweaks -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Release tweaks manifest hash: ded5f9b4432ab05c28d6e0ca56adbf3d14b8e6f6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCvGzZywK+sNU5EO8RAlzYAJ4ix4F5cKYXBo8L6UwwZJbnZa7RpgCgme9H ByLO3Pcf9RSmQEO6vxYfuLs= =7fKS -----END PGP SIGNATURE-----

#!/bin/bash

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
hg -d commit -t "2" -u test -d "0 0"
hg history
hg log a
hexdump -C .hg/data/b.d
hg cat b | md5sum
hg cat a | md5sum
hg verify