D5333: test: enable sparse-revlog for test-revlog-v2.t

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Wed Nov 28 20:52:51 UTC 2018


lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  We are about to enable sparse-revlog globally. To help with reviewing the
  tests change, we isolate them in individual changesets.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5333

AFFECTED FILES
  tests/test-revlog-v2.t

CHANGE DETAILS

diff --git a/tests/test-revlog-v2.t b/tests/test-revlog-v2.t
--- a/tests/test-revlog-v2.t
+++ b/tests/test-revlog-v2.t
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require reporevlogstore
 
 A repo with unknown revlogv2 requirement string cannot be opened
@@ -24,6 +30,7 @@
   dotencode
   exp-revlogv2.0
   fncache
+  sparserevlog
   store
 
   $ hg log



To: lothiraldan, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list