config: test priority involving alias and cli
Differential Revision: https://phab.mercurial-scm.org/D9920
--- a/tests/test-config.t Fri Jan 29 12:03:29 2021 +0100
+++ b/tests/test-config.t Fri Jan 29 13:07:00 2021 +0100
@@ -498,3 +498,10 @@
$ HGRCPATH="file-D.rc" hg log -r .
value-D (known-bad-output !)
value-included (missing-correct-output !)
+
+command line override
+---------------------
+
+ $ HGRCPATH="file-A.rc:file-B.rc" hg log -r . --config ui.logtemplate="value-CLI\n"
+ value-A (known-bad-output !)
+ value-CLI (missing-correct-output !)