Patchwork D9733: persistent-nodemap: test it (does not) exist after a local clone

login
register
mail settings
Submitter phabricator
Date Jan. 12, 2021, 10:40 p.m.
Message ID <differential-rev-PHID-DREV-upf7vgc6eghe4crduocd-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48042/
State Superseded
Headers show

Comments

phabricator - Jan. 12, 2021, 10:40 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is currently buggy. We add a test before fixing the bug.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9733

AFFECTED FILES
  tests/test-persistent-nodemap.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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 @@ 
   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