Mercurial > public > mercurial-scm > hg-stable
diff tests/test-copy.t @ 14182:ec5886db9dc6
tests: fix deprecated use of hg debugdata/debugindex
For filelogs, debugindex and debugdata can be called with the file name
directly instead of the path to the revlog. Since in the future filelogs
will no longer be valid revlogs, calling with a path to the revlog is
deprecated for debugdata. For debugindex it is expected to still work,
but I changed them as well for consistency.
author | Sune Foldager <cryo@cyanite.org> |
---|---|
date | Wed, 04 May 2011 13:37:41 +0200 |
parents | 8b252e826c68 |
children | 4f795f5fbb0b |
line wrap: on
line diff
--- a/tests/test-copy.t Tue May 03 22:28:08 2011 +0200 +++ b/tests/test-copy.t Wed May 04 13:37:41 2011 +0200 @@ -52,7 +52,7 @@ this should show a revision linked to changeset 0 - $ hg debugindex .hg/store/data/a.i + $ hg debugindex a rev offset length base linkrev nodeid p1 p2 0 0 3 0 0 b789fdd96dc2 000000000000 000000000000 @@ -68,13 +68,13 @@ this should show a revision linked to changeset 1 - $ hg debugindex .hg/store/data/b.i + $ hg debugindex b rev offset length base linkrev nodeid p1 p2 0 0 65 0 1 37d9b5d994ea 000000000000 000000000000 this should show the rename information in the metadata - $ hg debugdata .hg/store/data/b.d 0 | head -3 | tail -2 + $ hg debugdata b 0 | head -3 | tail -2 copy: a copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3