##// END OF EJS Templates
nodemap: check that a simple lookup works fine...
marmoute -
r44954:23df5ecf default
parent child Browse files
Show More
@@ -19,6 +19,13 b' Test the persistent on-disk nodemap'
19 data-unused: 0
19 data-unused: 0
20 $ f --size .hg/store/00changelog.n
20 $ f --size .hg/store/00changelog.n
21 .hg/store/00changelog.n: size=42
21 .hg/store/00changelog.n: size=42
22
23 Simple lookup works
24
25 $ ANYNODE=`hg log --template '{node|short}\n' --rev tip`
26 $ hg log -r "$ANYNODE" --template '{rev}\n'
27 5000
28
22 $ f --sha256 .hg/store/00changelog-*.nd
29 $ f --sha256 .hg/store/00changelog-*.nd
23 .hg/store/00changelog-????????????????.nd: sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7 (glob)
30 .hg/store/00changelog-????????????????.nd: sha256=b961925120e1c9bc345c199b2cc442abc477029fdece37ef9d99cbe59c0558b7 (glob)
24 $ hg debugnodemap --dump-new | f --sha256 --size
31 $ hg debugnodemap --dump-new | f --sha256 --size
General Comments 0
You need to be logged in to leave comments. Login now