diff tests/test-upgrade-repo.t @ 43167:bca9d1a6c4c5

sidedata: rename the configuration option to `exp-use-side-data` We don't want setup configured to use the final version that would end using the experimental one while using and older version. Differential Revision: https://phab.mercurial-scm.org/D7040
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 10 Oct 2019 04:34:58 +0200
parents ea230325dc8c
children 86b26f20146d
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t	Thu Oct 10 16:02:47 2019 +0200
+++ b/tests/test-upgrade-repo.t	Thu Oct 10 04:34:58 2019 +0200
@@ -1410,7 +1410,7 @@
 
 upgrade
 
-  $ hg --config format.use-side-data=yes debugupgraderepo --run  --no-backup --config "extensions.sidedata=$TESTDIR/testlib/ext-sidedata.py" >/dev/null
+  $ hg --config format.exp-use-side-data=yes debugupgraderepo --run  --no-backup --config "extensions.sidedata=$TESTDIR/testlib/ext-sidedata.py" >/dev/null
   $ hg debugformat -v
   format-variant    repo config default
   fncache:           yes    yes     yes
@@ -1439,7 +1439,7 @@
 
 downgrade
 
-  $ hg debugupgraderepo --config format.use-side-data=no --run --no-backup > /dev/null
+  $ hg debugupgraderepo --config format.exp-use-side-data=no --run --no-backup > /dev/null
   $ hg debugformat -v
   format-variant    repo config default
   fncache:           yes    yes     yes
@@ -1466,7 +1466,7 @@
 
   $ cat >> .hg/hgrc << EOF
   > [format]
-  > use-side-data=yes
+  > exp-use-side-data=yes
   > EOF
   $ hg debugupgraderepo --run --no-backup > /dev/null
   $ hg debugformat -v