view tests/test-copy @ 814:0902ffece4b4

Merge with BOS
author mpm@selenic.com
date Sat, 30 Jul 2005 09:00:14 -0800
parents 8f5637f0a0c0 7e4843b7efd2
children 9344f5dd4488
line wrap: on
line source

#!/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