equal
deleted
inserted
replaced
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 |