# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1518959531 -32400 # Sun Feb 18 22:12:11 2018 +0900 # Node ID 20fd00ae43f25ab4db11bafc909a6a659bb74cbe # Parent 685bcdd236b592bb7c84290268decfb675bbd5ca 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 = {} _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel