Mercurial > hg
comparison tests/test-clone-r.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 | 15ca4bfecfe3 |
children | a79fea6b3e77 |
comparison
equal
deleted
inserted
replaced
14171:fa2b596db182 | 14182:ec5886db9dc6 |
---|---|
35 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | 35 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
36 | 36 |
37 $ hg mv afile anotherfile | 37 $ hg mv afile anotherfile |
38 $ hg commit -m "0.3m" | 38 $ hg commit -m "0.3m" |
39 | 39 |
40 $ hg debugindex -f 1 .hg/store/data/afile.i | 40 $ hg debugindex -f 1 afile |
41 rev flag offset length size base link p1 p2 nodeid | 41 rev flag offset length size base link p1 p2 nodeid |
42 0 0000 0 3 2 0 0 -1 -1 362fef284ce2 | 42 0 0000 0 3 2 0 0 -1 -1 362fef284ce2 |
43 1 0000 3 5 4 1 1 0 -1 125144f7e028 | 43 1 0000 3 5 4 1 1 0 -1 125144f7e028 |
44 2 0000 8 7 6 2 2 1 -1 4c982badb186 | 44 2 0000 8 7 6 2 2 1 -1 4c982badb186 |
45 3 0000 15 9 8 3 3 2 -1 19b1fc555737 | 45 3 0000 15 9 8 3 3 2 -1 19b1fc555737 |
46 | 46 |
47 $ hg debugindex .hg/store/data/adifferentfile.i | 47 $ hg debugindex adifferentfile |
48 rev offset length base linkrev nodeid p1 p2 | 48 rev offset length base linkrev nodeid p1 p2 |
49 0 0 75 0 7 2565f3199a74 000000000000 000000000000 | 49 0 0 75 0 7 2565f3199a74 000000000000 000000000000 |
50 | 50 |
51 $ hg debugindex .hg/store/data/anotherfile.i | 51 $ hg debugindex anotherfile |
52 rev offset length base linkrev nodeid p1 p2 | 52 rev offset length base linkrev nodeid p1 p2 |
53 0 0 75 0 8 2565f3199a74 000000000000 000000000000 | 53 0 0 75 0 8 2565f3199a74 000000000000 000000000000 |
54 | 54 |
55 $ hg debugindex .hg/store/data/fred.i | 55 $ hg debugindex fred |
56 rev offset length base linkrev nodeid p1 p2 | 56 rev offset length base linkrev nodeid p1 p2 |
57 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 | 57 0 0 8 0 6 12ab3bcc5ea4 000000000000 000000000000 |
58 | 58 |
59 $ hg debugindex .hg/store/00manifest.i | 59 $ hg debugindex .hg/store/00manifest.i |
60 rev offset length base linkrev nodeid p1 p2 | 60 rev offset length base linkrev nodeid p1 p2 |