changeset 12048:11035185b619 stable

url: expand vars in all [auth] settings (issue2328)
author Martin Geisler <mg@aragost.com>
date Fri, 13 Aug 2010 10:10:11 +0200
parents 8e7960feb139
children e329c250b0ba
files mercurial/url.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/url.py	Thu Aug 26 17:38:43 2010 +0200
+++ b/mercurial/url.py	Fri Aug 13 10:10:11 2010 +0200
@@ -156,8 +156,7 @@
                 continue
             group, setting = key.split('.', 1)
             gdict = config.setdefault(group, dict())
-            if setting in ('cert', 'key'):
-                val = util.expandpath(val)
+            val = util.expandpath(val)
             gdict[setting] = val
 
         # Find the best match