diff -r f3058dd05281 -r 0935ff767285 mercurial/hg.py --- a/mercurial/hg.py Fri Dec 31 17:09:38 2010 -0600 +++ b/mercurial/hg.py Wed Jan 05 15:56:03 2011 +0100 @@ -549,6 +549,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