persistent-nodemap: test it (does not) exist after a stream clone
This is currently buggy. We add a test before fixing the bug.
Differential Revision: https://phab.mercurial-scm.org/D9734
--- a/tests/test-persistent-nodemap.t Tue Jan 12 18:19:17 2021 +0100
+++ b/tests/test-persistent-nodemap.t Tue Jan 12 18:13:55 2021 +0100
@@ -610,3 +610,13 @@
$ ls -1 local-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
[1]
$ hg -R local-clone debugnodemap --metadata
+
+stream clone
+------------
+
+The persistent nodemap should exist after a streaming clone
+
+ $ hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone --quiet
+ $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
+ [1]
+ $ hg -R stream-clone debugnodemap --metadata