diff -r 6c9345f9edca -r 4d03707916d3 mercurial/hg.py --- a/mercurial/hg.py Wed Dec 22 13:25:00 2010 -0600 +++ b/mercurial/hg.py Mon Dec 27 17:49:58 2010 +0100 @@ -545,9 +545,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