test: enable sparse-revlog for test-lfs-largefiles.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:09:08 +0100
changeset 40914 c35d3cb758a4
parent 40913 ed8e4748b9da
child 40915 0e21db2458f4
test: enable sparse-revlog for test-lfs-largefiles.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/D5323
tests/test-lfs-largefiles.t
--- a/tests/test-lfs-largefiles.t	Mon Nov 12 01:08:56 2018 +0100
+++ b/tests/test-lfs-largefiles.t	Mon Nov 12 01:09:08 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require no-reposimplestore no-chg
 
 This tests the interaction between the largefiles and lfs extensions, and
@@ -294,6 +300,7 @@
   generaldelta
   lfs
   revlogv1
+  sparserevlog
   store
 
   $ hg log -r 'all()' -G -T '{rev} {join(lfs_files, ", ")} ({desc})\n'