changeset 46251:40ec2173f4dd

persistent-nodemap: highlight that node is not sent when streaming We have a local work-around, however having that data sent in the first place would be better. So we start with a test that monitor what is sent, and notice they are not. Differential Revision: https://phab.mercurial-scm.org/D9736
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 12 Jan 2021 19:47:34 +0100
parents de2ed219fd00
children 8023991dc811
files tests/test-persistent-nodemap.t
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-persistent-nodemap.t	Tue Jan 12 18:13:55 2021 +0100
+++ b/tests/test-persistent-nodemap.t	Tue Jan 12 19:47:34 2021 +0100
@@ -616,7 +616,11 @@
 
 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
+  $ hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)'
+  adding [s] 00manifest.i (313 KB)
+  adding [s] 00manifest.d (452 KB)
+  adding [s] 00changelog.i (313 KB)
+  adding [s] 00changelog.d (360 KB)
   $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)'
   [1]
   $ hg -R stream-clone debugnodemap --metadata