test: enable sparse-revlog for test-treemanifest.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:18:33 +0100
changeset 40913 37cc627c5959
parent 40912 6679ce31dfcb
child 40914 cebaaa38f8fd
test: enable sparse-revlog for test-treemanifest.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/D5340
tests/test-treemanifest.t
--- a/tests/test-treemanifest.t	Mon Nov 12 01:18:16 2018 +0100
+++ b/tests/test-treemanifest.t	Mon Nov 12 01:18:33 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
   $ cat << EOF >> $HGRCPATH
   > [ui]
   > ssh="$PYTHON" "$TESTDIR/dummyssh"
@@ -833,9 +839,9 @@
 Packed bundle
   $ hg -R deeprepo debugcreatestreamclonebundle repo-packed.hg
   writing 5330 bytes for 18 files
-  bundle requirements: generaldelta, revlogv1, treemanifest
+  bundle requirements: generaldelta, revlogv1, sparserevlog, treemanifest
   $ hg debugbundle --spec repo-packed.hg
-  none-packed1;requirements%3Dgeneraldelta%2Crevlogv1%2Ctreemanifest
+  none-packed1;requirements%3Dgeneraldelta%2Crevlogv1%2Csparserevlog%2Ctreemanifest
 
 #endif