changeset 40902:2fd790468e43

test: enable sparse-revlog for test-remotefilelog-clone.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/D5329
author Boris Feld <boris.feld@octobus.net>
date Wed, 28 Nov 2018 20:00:57 +0100
parents 7bdc97531490
children 116cadf4f3e8
files tests/test-remotefilelog-clone.t
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-remotefilelog-clone.t	Wed Nov 28 20:01:08 2018 +0100
+++ b/tests/test-remotefilelog-clone.t	Wed Nov 28 20:00:57 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require no-windows
 
   $ . "$TESTDIR/remotefilelog-library.sh"
@@ -28,6 +34,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
 
   $ hg update
@@ -61,6 +68,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   $ ls .hg/store/data
   4a0a19218e082a343a1b17e5333409af9d98f0f5
@@ -109,4 +117,5 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store