Patchwork D10321: test: explicitly use zlib compression in tests/test-repo-compengines.t

login
register
mail settings
Submitter phabricator
Date April 7, 2021, 11:54 a.m.
Message ID <differential-rev-PHID-DREV-n7l52xtu7gvvklkgdhzv-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48638/
State Superseded
Headers show

Comments

phabricator - April 7, 2021, 11:54 a.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  We need the implicit value to be explicit until we can change the default in
  some case.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/test-repo-compengines.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-repo-compengines.t b/tests/test-repo-compengines.t
--- a/tests/test-repo-compengines.t
+++ b/tests/test-repo-compengines.t
@@ -1,5 +1,12 @@ 
 A new repository uses zlib storage, which doesn't need a requirement
 
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > # stabilize test accross variant
+  > revlog-compression=zlib
+  > EOF
+
+
   $ hg init default
   $ cd default
   $ cat .hg/requires