D4678: tests: split capabilities into separate lines while searching for "narrow"

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Thu Sep 20 15:27:48 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7d9b1b50cad5: tests: split capabilities into separate lines while searching for "narrow" (authored by av6, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4678?vs=11215&id=11219

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

AFFECTED FILES
  tests/test-narrow-clone-non-narrow-server.t

CHANGE DETAILS

diff --git a/tests/test-narrow-clone-non-narrow-server.t b/tests/test-narrow-clone-non-narrow-server.t
--- a/tests/test-narrow-clone-non-narrow-server.t
+++ b/tests/test-narrow-clone-non-narrow-server.t
@@ -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 ..
 



To: av6, durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list