Mercurial > hg
diff mercurial/url.py @ 10794:1148a968a070 stable
url: expand path in auth filenames
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Fri, 26 Mar 2010 21:37:18 +0100 |
parents | fc5908d01ed7 |
children | e4f911ce21de |
line wrap: on
line diff
--- a/mercurial/url.py Sat Mar 27 13:39:45 2010 +0200 +++ b/mercurial/url.py Fri Mar 26 21:37:18 2010 +0100 @@ -145,6 +145,8 @@ continue group, setting = key.split('.', 1) gdict = config.setdefault(group, dict()) + if setting in ('cert', 'key'): + val = util.expandpath(val) gdict[setting] = val # Find the best match