Patchwork D9736: persistent-nodemap: highlight that node is not sent when streaming

login
register
mail settings
Submitter phabricator
Date Jan. 12, 2021, 10:40 p.m.
Message ID <differential-rev-PHID-DREV-xiuawcnqls3mbtfik5fc-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48045/
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
  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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

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
@@ -625,7 +625,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)'
   00changelog-*.nd (glob)
   00changelog.n