test: preemptively disable sparse-revlog for some of test-upgrade-repo
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:22:30 +0100
changeset 40917 e8cd688b2eb1
parent 40916 aeac89e78def
child 40918 3764330f76a6
test: preemptively disable sparse-revlog for some of test-upgrade-repo Some part of this test assumes sparse-revlog is off. We enforce it explicitly. Differential Revision: https://phab.mercurial-scm.org/D5344
tests/test-upgrade-repo.t
--- a/tests/test-upgrade-repo.t	Mon Nov 12 01:19:48 2018 +0100
+++ b/tests/test-upgrade-repo.t	Mon Nov 12 01:22:30 2018 +0100
@@ -330,7 +330,7 @@
   $ touch f2
   $ hg -q commit -A -m 'add f2'
 
-  $ hg debugupgraderepo --run
+  $ hg debugupgraderepo --run --config format.sparse-revlog=false
   upgrade will perform the following actions:
   
   requirements
@@ -720,7 +720,7 @@
 Check upgrading a sparse-revlog repository
 ---------------------------------------
 
-  $ hg init sparserevlogrepo
+  $ hg init sparserevlogrepo --config format.sparse-revlog=no
   $ cd sparserevlogrepo
   $ touch foo
   $ hg add foo