# HG changeset patch # User Yuya Nishihara # Date 2018-02-18 13:12:11 # Node ID 37a1501cbcfd9c296d900f04987099eef411862b # Parent 3496bffe266d735565e7800a1e0b08048fcc3f75 url: show full url of proxy server in debug message This only fixes the debug message spotted by issue5796. diff --git a/mercurial/url.py b/mercurial/url.py --- a/mercurial/url.py +++ b/mercurial/url.py @@ -126,8 +126,7 @@ class proxyhandler(urlreq.proxyhandler): proxyurl = str(proxy) proxies = {'http': proxyurl, 'https': proxyurl} - ui.debug('proxying through http://%s:%s\n' % - (proxy.host, proxy.port)) + ui.debug('proxying through %s\n' % util.hidepassword(proxyurl)) else: proxies = {}