diff mercurial/url.py @ 13231:b335882c2f21 stable

url: expand path for web.cacerts
author Eduard-Cristian Stefan <alexandrul.ct@gmail.com>
date Sun, 02 Jan 2011 15:30:12 +0200
parents f9d29777b4eb
children 0935ff767285 00411a4fa1bb
line wrap: on
line diff
--- a/mercurial/url.py	Wed Jan 05 10:47:35 2011 +0100
+++ b/mercurial/url.py	Sun Jan 02 15:30:12 2011 +0200
@@ -512,6 +512,8 @@
         def connect(self):
             if hasattr(self, 'ui'):
                 cacerts = self.ui.config('web', 'cacerts')
+                if cacerts:
+                    cacerts = util.expandpath(cacerts)
             else:
                 cacerts = None