test: enable sparse-revlog for test-hgweb-commands.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:04:59 +0100
changeset 40910 140d455ef40a
parent 40909 e646fda7be2e
child 40911 4062ba2deb4e
test: enable sparse-revlog for test-hgweb-commands.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/D5319
tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t	Mon Nov 12 01:04:04 2018 +0100
+++ b/tests/test-hgweb-commands.t	Mon Nov 12 01:04:59 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require serve
 
 An attempt at more fully testing the hgweb web interface.
@@ -2193,7 +2199,7 @@
   lookup
   pushkey
   stream-preferred
-  streamreqs=generaldelta,revlogv1
+  streamreqs=generaldelta,revlogv1,sparserevlog
   unbundle=HG10GZ,HG10BZ,HG10UN
   unbundlehash