# HG changeset patch # User Benoit Allard # Date 2010-03-26 20:37:18 # Node ID 1148a968a0700d047c790edd5cbded240534da2e # Parent 16df09a54113ef430ae36b13508cc835e99709cf url: expand path in auth filenames diff --git a/mercurial/url.py b/mercurial/url.py --- a/mercurial/url.py +++ b/mercurial/url.py @@ -145,6 +145,8 @@ class passwordmgr(urllib2.HTTPPasswordMg 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