diff mercurial/hg.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 4d03707916d3
children 0935ff767285 8dc488dfcdb4
line wrap: on
line diff
--- a/mercurial/hg.py	Wed Jan 05 10:47:35 2011 +0100
+++ b/mercurial/hg.py	Sun Jan 02 15:30:12 2011 +0200
@@ -551,6 +551,6 @@
             dst.setconfig(sect, key, val)
     v = src.config('web', 'cacerts')
     if v:
-        dst.setconfig('web', 'cacerts', v)
+        dst.setconfig('web', 'cacerts', util.expandpath(v))
 
     return dst