changeset 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 16df09a54113
children 8f4c95368313 ce2ae8bf3ae3
files mercurial/url.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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