test: enable sparse-revlog for test-hgweb-commands.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:04:59 +0100
changeset 53658 140d455ef40a461d6ef7aa08256f709c5ae6d969
parent 53657 e646fda7be2e1dc1b77a8f213730cf33a90c9f3c
child 53659 4062ba2deb4eaaefcd4747dfa53fcadcd771b9ea
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
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
+++ b/tests/test-hgweb-commands.t
@@ -1,8 +1,14 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require serve
 
 An attempt at more fully testing the hgweb web interface.
 The following things are tested elsewhere and are therefore omitted:
 - archive, tested in test-archive
 - unbundle, tested in test-push-http
 - changegroupsubset, tested in test-pull
 
@@ -2188,17 +2194,17 @@ capabilities
   compression=$BUNDLE2_COMPRESSIONS$
   getbundle
   httpheader=1024
   httpmediatype=0.1rx,0.1tx,0.2tx
   known
   lookup
   pushkey
   stream-preferred
-  streamreqs=generaldelta,revlogv1
+  streamreqs=generaldelta,revlogv1,sparserevlog
   unbundle=HG10GZ,HG10BZ,HG10UN
   unbundlehash
 
 heads
 
 ERRORS ENCOUNTERED
 
   $ cat errors.log