Mercurial > hg
comparison tests/test-persistent-nodemap.t @ 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 | 1cebad969d88 |
comparison
equal
deleted
inserted
replaced
46250:de2ed219fd00 | 46251:40ec2173f4dd |
---|---|
614 stream clone | 614 stream clone |
615 ------------ | 615 ------------ |
616 | 616 |
617 The persistent nodemap should exist after a streaming clone | 617 The persistent nodemap should exist after a streaming clone |
618 | 618 |
619 $ hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone --quiet | 619 $ hg clone -U --stream --config ui.ssh="\"$PYTHON\" \"$TESTDIR/dummyssh\"" ssh://user@dummy/test-repo stream-clone --debug | egrep '00(changelog|manifest)' |
620 adding [s] 00manifest.i (313 KB) | |
621 adding [s] 00manifest.d (452 KB) | |
622 adding [s] 00changelog.i (313 KB) | |
623 adding [s] 00changelog.d (360 KB) | |
620 $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' | 624 $ ls -1 stream-clone/.hg/store/ | egrep '00(changelog|manifest)(\.n|-.*\.nd)' |
621 [1] | 625 [1] |
622 $ hg -R stream-clone debugnodemap --metadata | 626 $ hg -R stream-clone debugnodemap --metadata |