changeset 11833:7c9beccb0533

url: expand vars in all [auth] settings (issue2328)
author Martin Geisler <mg@aragost.com>
date Fri, 13 Aug 2010 10:10:11 +0200
parents 7fa36341e7a0
children b9d316bcc013
files mercurial/url.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/url.py	Thu Aug 12 18:09:03 2010 -0500
+++ 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