test: enable sparse-revlog for test-wireproto-caching.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:18:45 +0100
changeset 40914 cebaaa38f8fd
parent 40913 37cc627c5959
child 40915 e64a28e2a1f2
test: enable sparse-revlog for test-wireproto-caching.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/D5341
tests/test-wireproto-caching.t
--- a/tests/test-wireproto-caching.t	Mon Nov 12 01:18:33 2018 +0100
+++ b/tests/test-wireproto-caching.t	Mon Nov 12 01:18:45 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
   $ . $TESTDIR/wireprotohelpers.sh
   $ cat >> $HGRCPATH << EOF
   > [extensions]
@@ -432,7 +438,8 @@
       ]),
       b'rawrepoformats': [
         b'generaldelta',
-        b'revlogv1'
+        b'revlogv1',
+        b'sparserevlog'
       ]
     }
   ]