# HG changeset patch # User Pierre-Yves David # Date 2021-01-12 17:13:55 # Node ID de2ed219fd005cf2be64e868651898ab21ab75db # Parent 3eb33aa237c0659c68fff4d11566ca0b4b554920 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 diff --git a/tests/test-persistent-nodemap.t b/tests/test-persistent-nodemap.t --- a/tests/test-persistent-nodemap.t +++ b/tests/test-persistent-nodemap.t @@ -610,3 +610,13 @@ The persistent nodemap should exist afte $ 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