diff -r 1aea66b71f4f -r 3bbbde6f3e9f mercurial/hg.py --- a/mercurial/hg.py Sun Dec 26 00:43:49 2010 +0100 +++ b/mercurial/hg.py Mon Dec 27 17:54:45 2010 +0100 @@ -543,9 +543,12 @@ if r: dst.setconfig('bundle', 'mainreporoot', r) - # copy auth and http_proxy section settings + # copy selected local settings to the remote ui for sect in ('auth', 'http_proxy'): for key, val in src.configitems(sect): dst.setconfig(sect, key, val) + v = src.config('web', 'cacerts') + if v: + dst.setconfig('web', 'cacerts', v) return dst