Skip to content
Snippets Groups Projects
Commit 40ec2173 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

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
parent de2ed219
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment