author | Patrick Mezard <pmezard@gmail.com> |
Tue, 23 Feb 2010 22:31:54 +0100 | |
branch | stable |
changeset 10534 | a957038218cd |
parent 10533 | 184cdb66263e |
child 10538 | 5203a324ba73 |
mercurial/url.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/url.py Tue Feb 23 23:19:09 2010 +0100 +++ b/mercurial/url.py Tue Feb 23 22:31:54 2010 +0100 @@ -140,6 +140,9 @@ # Read configuration config = dict() for key, val in self.ui.configitems('auth'): + if '.' not in key: + self.ui.warn(_("ignoring invalid [auth] key '%s'\n" % key)) + continue group, setting = key.split('.', 1) gdict = config.setdefault(group, dict()) gdict[setting] = val