persistent-nodemap: test it (does not) exist after a local clone
This is currently buggy. We add a test before fixing the bug.
Differential Revision: https://phab.mercurial-scm.org/D9733
--- a/tests/test-persistent-nodemap.t Tue Jan 12 18:19:01 2021 +0100
+++ b/tests/test-persistent-nodemap.t Tue Jan 12 18:19:17 2021 +0100
@@ -600,3 +600,13 @@
data-unused: 0
data-unused: 0.000%
+
+local clone
+------------
+
+The persistent nodemap should exist after a streaming clone
+
+ $ hg clone -U test-repo local-clone
+ $ ls -1 local-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
+ [1]
+ $ hg -R local-clone debugnodemap --metadata