changeset 40914:c35d3cb758a4

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
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:09:08 +0100
parents ed8e4748b9da
children 0e21db2458f4
files tests/test-lfs-largefiles.t
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'