Skip to content
Snippets Groups Projects
Commit 7488067b authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

persistent-nodemap: test that is it present after a clone

The persistent nodemap is actually missing after local and stream
clone. We start by adding a test for the case that works so that we
can compare output after the fix.

Differential Revision: https://phab.mercurial-scm.org/D9732
parent a3ccbac6
No related branches found
No related tags found
No related merge requests found
......@@ -575,3 +575,28 @@
data-length: 121088
data-unused: 0
data-unused: 0.000%
Persistent nodemap and local/streaming clone
============================================
$ cd ..
standard clone
--------------
The persistent nodemap should exist after a streaming clone
$ hg clone --pull --quiet -U test-repo standard-clone
$ ls -1 standard-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
00changelog-*.nd (glob)
00changelog.n
00manifest-*.nd (glob)
00manifest.n
$ hg -R standard-clone debugnodemap --metadata
uid: * (glob)
tip-rev: 5005
tip-node: 90d5d3ba2fc47db50f712570487cb261a68c8ffe
data-length: 121088
data-unused: 0
data-unused: 0.000%
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment