Mercurial > hg
comparison tests/test-narrow-clone-non-narrow-server.t @ 39530:576b92928cc7
narrow: mark wire proto capability names experimental and versioned
We already plan to add a "widen" wire protocol command to the "narrow"
capability, so let's version the capabilities as "exp-narrow-1" and
"exp-ellipses-1". When we add the "widen" command, we will then add a
"exp-narrow-2" capability to indicate support for that command.
Differential Revision: https://phab.mercurial-scm.org/D4529
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 11 Sep 2018 10:54:20 -0700 |
parents | c90514043eaa |
children | 5abc47d4ca6b |
comparison
equal
deleted
inserted
replaced
39529:e82da0fcc7c5 | 39530:576b92928cc7 |
---|---|
31 > print(unquote(list(sys.stdin)[1])) | 31 > print(unquote(list(sys.stdin)[1])) |
32 > EOF | 32 > EOF |
33 $ echo hello | hg -R . serve --stdio | \ | 33 $ echo hello | hg -R . serve --stdio | \ |
34 > $PYTHON unquote.py | grep narrow | 34 > $PYTHON unquote.py | grep narrow |
35 narrow=v0 | 35 narrow=v0 |
36 rev-branch-cache changegroupsubset getbundle known lookup narrow protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | 36 rev-branch-cache changegroupsubset exp-narrow-1 getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash |
37 | 37 |
38 $ cd .. | 38 $ cd .. |
39 | 39 |
40 $ hg clone --narrow --include f1 http://localhost:$HGPORT1/ narrowclone | 40 $ hg clone --narrow --include f1 http://localhost:$HGPORT1/ narrowclone |
41 requesting all changes | 41 requesting all changes |