diff tests/test-init.t @ 40894:57e4150fb15b

test: enable sparse-revlog for test-init.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/D5321
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:06:10 +0100
parents c2c8962a9465
children a0886a4d6dce
line wrap: on
line diff
--- a/tests/test-init.t	Mon Nov 12 01:08:42 2018 +0100
+++ b/tests/test-init.t	Mon Nov 12 01:06:10 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 This test tries to exercise the ssh functionality with a dummy script
 
   $ checknewrepo()
@@ -22,6 +28,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
   $ echo this > local/foo
@@ -60,6 +67,7 @@
   generaldelta
   revlogv1
   testonly-simplestore (reposimplestore !)
+  sparserevlog
 
 creating repo with format.usefncache=false
 
@@ -69,6 +77,7 @@
   00changelog.i created
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -81,12 +90,13 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
 creating repo with format.dotencode=false
 
-  $ hg --config format.generaldelta=false --config format.usegeneraldelta=false init old4
+  $ hg --config format.generaldelta=false --config format.usegeneraldelta=false --config format.sparse-revlog=no init old4
   $ checknewrepo old4
   store created
   00changelog.i created
@@ -210,6 +220,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -229,6 +240,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -244,6 +256,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)