Mercurial > hg-stable
diff tests/test-copy2 @ 4743:719c402258ee
test-copy2: use status -C instead of debugstate | grep copy
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 03 Jul 2007 03:06:40 -0300 |
parents | de8ec7e1753a |
children | 44e17f5029d0 |
line wrap: on
line diff
--- 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