##// END OF EJS Templates
nodemap: also use persistent nodemap for manifest...
marmoute -
r45290:640d5b3b default
parent child Browse files
Show More
@@ -1588,6 +1588,9 b' class manifestrevlog(object):'
1588 checkambig=not bool(tree),
1588 checkambig=not bool(tree),
1589 mmaplargeindex=True,
1589 mmaplargeindex=True,
1590 upperboundcomp=MAXCOMPRESSION,
1590 upperboundcomp=MAXCOMPRESSION,
1591 persistentnodemap=opener.options.get(
1592 b'exp-persistent-nodemap', False
1593 ),
1591 )
1594 )
1592
1595
1593 self.index = self._revlog.index
1596 self.index = self._revlog.index
@@ -32,6 +32,9 b' Simple lookup works'
32
32
33 $ f --sha256 .hg/store/00changelog-*.nd
33 $ f --sha256 .hg/store/00changelog-*.nd
34 .hg/store/00changelog-????????????????.nd: sha256=2e029d3200bd1a986b32784fc2ef1a3bd60dc331f025718bcf5ff44d93f026fd (glob)
34 .hg/store/00changelog-????????????????.nd: sha256=2e029d3200bd1a986b32784fc2ef1a3bd60dc331f025718bcf5ff44d93f026fd (glob)
35
36 $ f --sha256 .hg/store/00manifest-*.nd
37 .hg/store/00manifest-????????????????.nd: sha256=97117b1c064ea2f86664a124589e47db0e254e8d34739b5c5cc5bf31c9da2b51 (glob)
35 $ hg debugnodemap --dump-new | f --sha256 --size
38 $ hg debugnodemap --dump-new | f --sha256 --size
36 size=121088, sha256=2e029d3200bd1a986b32784fc2ef1a3bd60dc331f025718bcf5ff44d93f026fd
39 size=121088, sha256=2e029d3200bd1a986b32784fc2ef1a3bd60dc331f025718bcf5ff44d93f026fd
37 $ hg debugnodemap --dump-disk | f --sha256 --bytes=256 --hexdump --size
40 $ hg debugnodemap --dump-disk | f --sha256 --bytes=256 --hexdump --size
General Comments 0
You need to be logged in to leave comments. Login now