changeset 46250:de2ed219fd00

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 12 Jan 2021 18:13:55 +0100
parents 3eb33aa237c0
children 40ec2173f4dd
files tests/test-persistent-nodemap.t
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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