--- a/tests/test-copy2 Tue Jul 03 03:06:40 2007 -0300
+++ b/tests/test-copy2 Tue Jul 03 03:06:40 2007 -0300
@@ -7,11 +7,11 @@
echo "# should show copy"
hg copy foo bar
-hg debugstate|grep '^copy'
+hg st -C
echo "# shouldn't show copy"
hg commit -m2 -d"0 0"
-hg debugstate|grep '^copy'
+hg st -C
echo "# should match"
hg debugindex .hg/store/data/foo.i
@@ -26,7 +26,7 @@
hg copy -f foo bar
echo "# should show copy"
-hg debugstate|grep '^copy'
+hg st -C
hg commit -m3 -d"0 0"
echo "# should show no parents for tip"
@@ -36,7 +36,7 @@
hg debugrename bar
echo "# should show no copies"
-hg debugstate|grep '^copy'
+hg st -C
echo "# copy --after on an added file"
cp bar baz
--- a/tests/test-copy2.out Tue Jul 03 03:06:40 2007 -0300
+++ b/tests/test-copy2.out Tue Jul 03 03:06:40 2007 -0300
@@ -1,5 +1,6 @@
# should show copy
-copy: foo -> bar
+A bar
+ foo
# shouldn't show copy
# should match
rev offset length base linkrev nodeid p1 p2
@@ -8,7 +9,8 @@
# should not be renamed
bar not renamed
# should show copy
-copy: foo -> bar
+M bar
+ foo
# should show no parents for tip
rev offset length base linkrev nodeid p1 p2
0 0 69 0 1 6ca237634e1f 000000000000 000000000000