[Bug 6714] New: Command-line 'config.auth.' options do not override options from config file.
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun Jun 12 09:16:49 UTC 2022
https://bz.mercurial-scm.org/show_bug.cgi?id=6714
Bug ID: 6714
Summary: Command-line 'config.auth.' options do not override
options from config file.
Product: Mercurial
Version: 6.1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: mr.dmitry.sokolov at gmail.com
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
1) Local config: %USERPROFILE%\mercurial.ini
[auth]
server1.prefix = hg.example.org
server1.username = john.doe
server1.schemes = https
2) Running
$ hg --config auth.jenkins.prefix=* --config auth.jenkins.username=jenkins
--config auth.jenkins.password=*** --config "auth.jenkins.schemes=http https"
clone --rev default --noupdate https://hg.example.org/JENKINS
C:\Jenkins\workspace\Build_project
abort: keyring: http authorization required but program used in non-interactive
mode
ERROR: Failed to clone https://hg.example.org/JENKINS
The error disappears if the "[auth]" section is deleted from the local config.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list