Mercurial > hg
changeset 39720:7d9b1b50cad5
tests: split capabilities into separate lines while searching for "narrow"
This test is interested only in capabilities that are related to narrow, so
let's omit everything else. Makes it easier to update other capabilities (and
"rev-branch-cache" is one of the usual patterns that are already present in
tests/common-patterns.py anyway).
Differential Revision: https://phab.mercurial-scm.org/D4678
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 20 Sep 2018 17:02:31 +0800 |
parents | 255d1885c7f8 |
children | 1b5880352314 |
files | tests/test-narrow-clone-non-narrow-server.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-narrow-clone-non-narrow-server.t Wed Sep 19 23:54:16 2018 -0400 +++ b/tests/test-narrow-clone-non-narrow-server.t Thu Sep 20 17:02:31 2018 +0800 @@ -31,9 +31,9 @@ > print(unquote(list(sys.stdin)[1])) > EOF $ echo hello | hg -R . serve --stdio | \ - > "$PYTHON" unquote.py | grep narrow + > "$PYTHON" unquote.py | tr ' ' '\n' | grep narrow narrow=v0 - rev-branch-cache changegroupsubset exp-narrow-1 getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash + exp-narrow-1 $ cd ..