mercurial/hg.py
branchstable
changeset 13192 4d03707916d3
parent 12735 8888e56ac417
child 13193 3bbbde6f3e9f
child 13231 b335882c2f21
equal deleted inserted replaced
13188:6c9345f9edca 13192:4d03707916d3
   543     # copy bundle-specific options
   543     # copy bundle-specific options
   544     r = src.config('bundle', 'mainreporoot')
   544     r = src.config('bundle', 'mainreporoot')
   545     if r:
   545     if r:
   546         dst.setconfig('bundle', 'mainreporoot', r)
   546         dst.setconfig('bundle', 'mainreporoot', r)
   547 
   547 
   548     # copy auth and http_proxy section settings
   548     # copy selected local settings to the remote ui
   549     for sect in ('auth', 'http_proxy'):
   549     for sect in ('auth', 'http_proxy'):
   550         for key, val in src.configitems(sect):
   550         for key, val in src.configitems(sect):
   551             dst.setconfig(sect, key, val)
   551             dst.setconfig(sect, key, val)
       
   552     v = src.config('web', 'cacerts')
       
   553     if v:
       
   554         dst.setconfig('web', 'cacerts', v)
   552 
   555 
   553     return dst
   556     return dst