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: bugzi...@mercurial-scm.org
          Reporter: mr.dmitry.soko...@gmail.com
                CC: mercurial-devel@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to