changeset 40900:56fff6d7e30a

test: enable sparse-revlog for test-narrow-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/D5327
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:12:37 +0100
parents 192291ca909b
children 7bdc97531490
files tests/test-narrow-clone.t
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-narrow-clone.t	Mon Nov 12 01:12:15 2018 +0100
+++ b/tests/test-narrow-clone.t	Mon Nov 12 01:12:37 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
   $ . "$TESTDIR/narrow-library.sh"
 
   $ hg init master
@@ -43,6 +49,7 @@
   fncache
   narrowhg-experimental
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)