test: enable sparse-revlog for test-remotefilelog-log.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:14:54 +0100
changeset 53670 b2b8afd66f780cd1171743ccd329df3b319adb16
parent 53669 116cadf4f3e887ac532481fbc796ae4fafff0bde
child 53671 4fe18205bbdbbba196cbf3f8102e21efd469837a
push id1079
push usergszorc@mozilla.com
push dateMon, 10 Dec 2018 19:44:59 +0000
test: enable sparse-revlog for test-remotefilelog-log.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/D5331
tests/test-remotefilelog-log.t
--- a/tests/test-remotefilelog-log.t
+++ b/tests/test-remotefilelog-log.t
@@ -1,8 +1,14 @@
+TRANSITIONAL CONFIG
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > sparse-revlog = yes
+  > EOF
+
 #require no-windows
 
   $ . "$TESTDIR/remotefilelog-library.sh"
 
   $ hg init master
   $ cd master
   $ cat >> .hg/hgrc <<EOF
   > [remotefilelog]
@@ -26,16 +32,17 @@ Shallow clone from full
   no changes found
   $ cd shallow
   $ cat .hg/requires
   dotencode
   exp-remotefilelog-repo-req-1
   fncache
   generaldelta
   revlogv1
+  sparserevlog
   store
 
   $ hg update
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
 
 Log on a file without -f