test: enable sparse-revlog for test-clonebundles.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:03:04 +0100
changeset 40907 abac9d186e7e
parent 40906 2c55fd1c1468
child 40908 5db7efa238bd
test: enable sparse-revlog for test-clonebundles.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/D5316
tests/test-clonebundles.t
--- a/tests/test-clonebundles.t	Mon Nov 12 01:43:34 2018 +0100
+++ b/tests/test-clonebundles.t	Mon Nov 12 01:03:04 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require no-reposimplestore no-chg
 
 Set up a server
@@ -295,7 +301,7 @@
 
   $ hg -R server debugcreatestreamclonebundle packed.hg
   writing 613 bytes for 4 files
-  bundle requirements: generaldelta, revlogv1
+  bundle requirements: generaldelta, revlogv1, sparserevlog
 
 No bundle spec should work