changeset 46849:1a17c35fb9fd

test: explicitly use zlib compression in tests/test-upgrade-repo.t We need the implicit value to be explicit until we can change the default in some case. Differential Revision: https://phab.mercurial-scm.org/D10322
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 06 Apr 2021 18:50:32 +0200
parents 19747c07ed3f
children 9dfcadc2cabb
files tests/test-upgrade-repo.t
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t	Tue Apr 06 18:49:01 2021 +0200
+++ b/tests/test-upgrade-repo.t	Tue Apr 06 18:50:32 2021 +0200
@@ -3,6 +3,9 @@
   $ cat >> $HGRCPATH << EOF
   > [extensions]
   > share =
+  > [format]
+  > # stabilize test accross variant
+  > revlog-compression=zlib
   > EOF
 
 store and revlogv1 are required in source
@@ -1144,6 +1147,7 @@
   > maxchainlen = 9001
   > EOF
   $ hg config format
+  format.revlog-compression=$BUNDLE2_COMPRESSIONS$
   format.maxchainlen=9001
   $ hg debugdeltachain file
       rev  chain# chainlen     prev   delta       size    rawsize  chainsize     ratio   lindist extradist extraratio   readsize largestblk rddensity srchunks