mercurial/url.py
branchstable
changeset 10794 1148a968a070
parent 10539 fc5908d01ed7
child 11035 e4f911ce21de
equal deleted inserted replaced
10793:16df09a54113 10794:1148a968a070
   143             if '.' not in key:
   143             if '.' not in key:
   144                 self.ui.warn(_("ignoring invalid [auth] key '%s'\n") % key)
   144                 self.ui.warn(_("ignoring invalid [auth] key '%s'\n") % key)
   145                 continue
   145                 continue
   146             group, setting = key.split('.', 1)
   146             group, setting = key.split('.', 1)
   147             gdict = config.setdefault(group, dict())
   147             gdict = config.setdefault(group, dict())
       
   148             if setting in ('cert', 'key'):
       
   149                 val = util.expandpath(val)
   148             gdict[setting] = val
   150             gdict[setting] = val
   149 
   151 
   150         # Find the best match
   152         # Find the best match
   151         scheme, hostpath = uri.split('://', 1)
   153         scheme, hostpath = uri.split('://', 1)
   152         bestlen = 0
   154         bestlen = 0