test: enable sparse-revlog for test-phases.t
authorBoris Feld <boris.feld@octobus.net>
Wed, 28 Nov 2018 20:01:08 +0100
changeset 40901 7bdc97531490
parent 40900 56fff6d7e30a
child 40902 2fd790468e43
test: enable sparse-revlog for test-phases.t We are about to enable sparse-revlog globally. To help with reviewing the tests change, we isolate them in individual changesets. Differential Revision: https://phab.mercurial-scm.org/D5328
tests/test-phases.t
--- a/tests/test-phases.t	Mon Nov 12 01:12:37 2018 +0100
+++ b/tests/test-phases.t	Wed Nov 28 20:01:08 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
   $ cat > $TESTTMP/hook.sh << 'EOF'
   > echo "test-hook-close-phase: $HG_NODE:  $HG_OLDPHASE -> $HG_PHASE"
   > EOF
@@ -841,6 +847,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   $ echo X > X
   $ hg add X
@@ -867,6 +874,7 @@
   generaldelta
   internal-phase
   revlogv1
+  sparserevlog
   store
   $ mkcommit A
   test-debug-phase: new rev 0:  x -> 1