# HG changeset patch # User Yuya Nishihara # Date 1518959531 -32400 # 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 -r 3496bffe266d -r 37a1501cbcfd mercurial/url.py --- a/mercurial/url.py Mon Feb 19 00:31:01 2018 +0530 +++ b/mercurial/url.py Sun Feb 18 22:12:11 2018 +0900 @@ -126,8 +126,7 @@ 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 = {}