changeset 40897:0e21db2458f4

test: enable sparse-revlog for test-lfs-serve.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/D5324
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:09:19 +0100
parents c35d3cb758a4
children eecc7a2ebf52
files tests/test-lfs-serve.t
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-lfs-serve.t	Mon Nov 12 01:09:08 2018 +0100
+++ b/tests/test-lfs-serve.t	Mon Nov 12 01:09:19 2018 +0100
@@ -1,3 +1,9 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #testcases lfsremote-on lfsremote-off
 #require serve no-reposimplestore no-chg
 
@@ -131,7 +137,7 @@
   upgrade will perform the following actions:
   
   requirements
-     preserved: dotencode, fncache, generaldelta, revlogv1, store
+     preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
   
   beginning upgrade...
   repository locked and read-only