changeset 10962 | 8d5f5122a732 |
parent 10829 | 56fffc9c8928 |
parent 10953 | f1250e2e8fd1 |
child 11017 | 80b9101688ac |
--- a/mercurial/cmdutil.py Fri Apr 16 23:59:43 2010 +0200 +++ b/mercurial/cmdutil.py Mon Apr 19 17:00:02 2010 -0500 @@ -129,9 +129,10 @@ if r: dst.setconfig('bundle', 'mainreporoot', r) - # copy auth section settings - for key, val in src.configitems('auth'): - dst.setconfig('auth', key, val) + # copy auth and http_proxy section settings + for sect in ('auth', 'http_proxy'): + for key, val in src.configitems(sect): + dst.setconfig(sect, key, val) return dst