Mercurial > hg
changeset 46617:87f8b3add56b
config: test priority involving alias and cli
Differential Revision: https://phab.mercurial-scm.org/D9920
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 29 Jan 2021 13:07:00 +0100 |
parents | 702bb73d7330 |
children | dde86beca388 |
files | tests/test-config.t |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 !)