diff tests/test-persistent-nodemap.t @ 46249:3eb33aa237c0

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 12 Jan 2021 18:19:17 +0100
parents 7488067b8c1e
children de2ed219fd00
line wrap: on
line diff
--- a/tests/test-persistent-nodemap.t	Tue Jan 12 18:19:01 2021 +0100
+++ b/tests/test-persistent-nodemap.t	Tue Jan 12 18:19:17 2021 +0100
@@ -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