test: fix config typo in test-upgrade-repo.t
Differential Revision: https://phab.mercurial-scm.org/D5310
--- a/tests/test-upgrade-repo.t Mon Dec 10 15:45:46 2018 +0300
+++ b/tests/test-upgrade-repo.t Mon Nov 12 00:48:11 2018 +0100
@@ -67,18 +67,18 @@
sparserevlog: no no no
plain-cl-delta: yes yes yes
compression: zlib zlib zlib
- $ hg debugformat --verbose --config format.usegfncache=no
+ $ hg debugformat --verbose --config format.usefncache=no
format-variant repo config default
- fncache: yes yes yes
- dotencode: yes yes yes
+ fncache: yes no yes
+ dotencode: yes no yes
generaldelta: yes yes yes
sparserevlog: no no no
plain-cl-delta: yes yes yes
compression: zlib zlib zlib
- $ hg debugformat --verbose --config format.usegfncache=no --color=debug
+ $ hg debugformat --verbose --config format.usefncache=no --color=debug
format-variant repo config default
- [formatvariant.name.uptodate|fncache: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
- [formatvariant.name.uptodate|dotencode: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
+ [formatvariant.name.mismatchconfig|fncache: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes]
+ [formatvariant.name.mismatchconfig|dotencode: ][formatvariant.repo.mismatchconfig| yes][formatvariant.config.special| no][formatvariant.default| yes]
[formatvariant.name.uptodate|generaldelta: ][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]
[formatvariant.name.uptodate|sparserevlog: ][formatvariant.repo.uptodate| no][formatvariant.config.default| no][formatvariant.default| no]
[formatvariant.name.uptodate|plain-cl-delta:][formatvariant.repo.uptodate| yes][formatvariant.config.default| yes][formatvariant.default| yes]