tests/test-copy
author mpm@selenic.com
Tue, 23 Aug 2005 12:46:43 -0700
changeset 994 88c15682d9b0
parent 814 0902ffece4b4
child 1043 9344f5dd4488
permissions -rwxr-xr-x
Fix callers to file.revision to use file.read This was causing unchanged files to show up as modified.

#!/bin/sh

hg init
echo a > a
hg add a
hg commit -m "1" -d "0 0"
hg status
cp a b
hg copy a b
hg status
hg --debug commit -m "2" -d "0 0"
hg history
hg log a
md5sum .hg/data/b.d
hg cat b > bsum
md5sum bsum
hg cat a > asum
md5sum asum
hg verify