tests/test-copy
changeset 363 ae96b7e1318d
child 462 512d76558bd4
child 464 50da4bb9cab6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-copy	Wed Jun 15 15:57:07 2005 -0800
@@ -0,0 +1,18 @@
+#!/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