test: enable sparse-revlog for test-lfs-serve.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:09:19 +0100
changeset 40897 0e21db2458f4
parent 40896 c35d3cb758a4
child 40898 eecc7a2ebf52
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
tests/test-lfs-serve.t
--- 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