httpconnection: allow a global auth.cookiefile config entry

This foreshadows support for defining a cookies file.
This commit is contained in:
Gregory Szorc 2017-03-09 22:35:10 -08:00
parent 3c5a0a039c
commit bd7f2afe30

View File

@ -69,6 +69,9 @@ def readauthforuri(ui, uri, user):
# 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