test: enable sparse-revlog for test-sparse-requirement.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:15:51 +0100
changeset 40907 74a519c86625
parent 40906 27fa1d2bf484
child 40908 f6904d60fc21
test: enable sparse-revlog for test-sparse-requirement.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/D5334
tests/test-sparse-requirement.t
--- a/tests/test-sparse-requirement.t	Mon Nov 12 01:15:37 2018 +0100
+++ b/tests/test-sparse-requirement.t	Mon Nov 12 01:15:51 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
   $ hg init repo
   $ cd repo
 
@@ -21,6 +27,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -37,6 +44,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -55,6 +63,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)