mercurial/url.py
branchstable
changeset 10794 1148a968a070
parent 10539 fc5908d01ed7
child 11035 e4f911ce21de
--- 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