changeset 40914:cebaaa38f8fd

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
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:18:45 +0100
parents 37cc627c5959
children e64a28e2a1f2
files tests/test-wireproto-caching.t
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'
       ]
     }
   ]