test: enable sparse-revlog for test-stream-bundle-v2.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:18:16 +0100
changeset 40912 6679ce31dfcb
parent 40911 8fcda0780136
child 40913 37cc627c5959
test: enable sparse-revlog for test-stream-bundle-v2.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/D5339
tests/test-stream-bundle-v2.t
--- a/tests/test-stream-bundle-v2.t	Mon Nov 12 01:18:03 2018 +0100
+++ b/tests/test-stream-bundle-v2.t	Mon Nov 12 01:18:16 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require no-reposimplestore
 
 Test creating a consuming stream bundle v2
@@ -46,9 +52,9 @@
   $ hg bundle -a --type="none-v2;stream=v2" bundle.hg
   $ hg debugbundle bundle.hg
   Stream params: {}
-  stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore} (mandatory: True)
+  stream2 -- {bytecount: 1693, filecount: 11, requirements: dotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore} (mandatory: True)
   $ hg debugbundle --spec bundle.hg
-  none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Cstore
+  none-v2;stream=v2;requirements%3Ddotencode%2Cfncache%2Cgeneraldelta%2Crevlogv1%2Csparserevlog%2Cstore
 
 Test that we can apply the bundle as a stream clone bundle