changeset 40917:e8cd688b2eb1

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
author Boris Feld <boris.feld@octobus.net>
date Mon, 12 Nov 2018 01:22:30 +0100
parents aeac89e78def
children 3764330f76a6
files tests/test-upgrade-repo.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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