Patchwork D12079: stream-requirements: smoother matching in test-hgweb-commands.t

login
register
mail settings
Submitter phabricator
Date Jan. 24, 2022, 2:52 p.m.
Message ID <differential-rev-PHID-DREV-hdzzggbxskuuioy6zy64-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50405/
State New
Headers show

Comments

phabricator - Jan. 24, 2022, 2:52 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The value of `streamreqs` changes depending of the format used, but this is not
  relevant for this tests. So we doing a smarter matching of the line to avoid
  this test interfering with format changes in the future.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-hgweb-commands.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t
+++ b/tests/test-hgweb-commands.t
@@ -2193,8 +2193,7 @@ 
   lookup
   pushkey
   stream-preferred
-  streamreqs=generaldelta,revlogv1,sparserevlog (no-rust !)
-  streamreqs=generaldelta,persistent-nodemap,revlogv1,sparserevlog (rust !)
+  streamreqs=*,* (glob)
   unbundle=HG10GZ,HG10BZ,HG10UN
   unbundlehash