changeset 40925:74a519c86625

test: enable sparse-revlog for test-sparse-requirement.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/D5334
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:15:51 +0100
parents 27fa1d2bf484
children f6904d60fc21
files tests/test-sparse-requirement.t
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-sparse-requirement.t	Mon Nov 12 01:15:37 2018 +0100
+++ b/tests/test-sparse-requirement.t	Mon Nov 12 01:15:51 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
   $ hg init repo
   $ cd repo
 
@@ -21,6 +27,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -37,6 +44,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)
 
@@ -55,6 +63,7 @@
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
   testonly-simplestore (reposimplestore !)