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 (2010-03-26)
parents fc5908d01ed7
children e4f911ce21de
line wrap: on
line diff
--- a/mercurial/url.py
+++ b/mercurial/url.py
@@ -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