test: enable sparse-revlog for test-remotefilelog-clone-tree.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:14:22 +0100
changeset 40921 116cadf4f3e8
parent 40920 2fd790468e43
child 40922 b2b8afd66f78
test: enable sparse-revlog for test-remotefilelog-clone-tree.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/D5330
tests/test-remotefilelog-clone-tree.t
--- a/tests/test-remotefilelog-clone-tree.t	Wed Nov 28 20:00:57 2018 +0100
+++ b/tests/test-remotefilelog-clone-tree.t	Mon Nov 12 01:14:22 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require no-windows
 
   $ . "$TESTDIR/remotefilelog-library.sh"
@@ -31,6 +37,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   treemanifest
   $ find .hg/store/meta | sort
@@ -71,6 +78,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   treemanifest
   $ ls .hg/store/data
@@ -112,5 +120,6 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   treemanifest