test: enable sparse-revlog for test-narrow-clone-stream.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:12:15 +0100
changeset 53665 192291ca909b06f461aec958f69bd303f5a8a0a6
parent 53664 eecc7a2ebf52e8a1dedb942008c0e2973b3af241
child 53666 56fff6d7e30a88c2ba48c0c3cd32026a9e9b5ba0
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
test: enable sparse-revlog for test-narrow-clone-stream.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/D5326
tests/test-narrow-clone-stream.t
--- a/tests/test-narrow-clone-stream.t
+++ b/tests/test-narrow-clone-stream.t
@@ -1,8 +1,14 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #testcases tree flat-fncache flat-nofncache
 
 Tests narrow stream clones
 
   $ . "$TESTDIR/narrow-library.sh"
 
 #if tree
   $ cat << EOF >> $HGRCPATH
@@ -61,16 +67,17 @@ Cloning a specific file when stream clon
 Making sure we have the correct set of requirements
 
   $ cat .hg/requires
   dotencode (tree flat-fncache !)
   fncache (tree flat-fncache !)
   generaldelta
   narrowhg-experimental
   revlogv1
+  sparserevlog
   store
   treemanifest (tree !)
 
 Making sure store has the required files
 
   $ ls .hg/store/
   00changelog.i
   00manifest.i