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
--- 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