Mercurial > hg
changeset 31935:566cb89050b7
httpconnection: allow a global auth.cookiefile config entry
This foreshadows support for defining a cookies file.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 09 Mar 2017 22:35:10 -0800 |
parents | 12aca6770046 |
children | 806f9a883b4f |
files | mercurial/httpconnection.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/httpconnection.py Thu Mar 09 21:35:21 2017 -0800 +++ b/mercurial/httpconnection.py Thu Mar 09 22:35:10 2017 -0800 @@ -69,6 +69,9 @@ # Read configuration groups = {} for key, val in ui.configitems('auth'): + if key in ('cookiefile',): + continue + if '.' not in key: ui.warn(_("ignoring invalid [auth] key '%s'\n") % key) continue