test: enable sparse-revlog for test-revlog-v2.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:15:37 +0100
changeset 40906 27fa1d2bf484
parent 40905 4fe18205bbdb
child 40907 74a519c86625
test: enable sparse-revlog for test-revlog-v2.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/D5333
tests/test-revlog-v2.t
--- a/tests/test-revlog-v2.t	Mon Nov 12 01:15:21 2018 +0100
+++ b/tests/test-revlog-v2.t	Mon Nov 12 01:15:37 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require reporevlogstore
 
 A repo with unknown revlogv2 requirement string cannot be opened
@@ -24,6 +30,7 @@
   dotencode
   exp-revlogv2.0
   fncache
+  sparserevlog
   store
 
   $ hg log