# HG changeset patch # User Pierre-Yves David # Date 2021-01-12 17:19:17 # Node ID 3eb33aa237c0659c68fff4d11566ca0b4b554920 # Parent 7488067b8c1e3c0a9928eca0c53aed24f26a65ff 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 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 @@ -600,3 +600,13 @@ The persistent nodemap should exist afte 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