# HG changeset patch # User TK Soh # Date 1159299621 18000 # Node ID 36ab673f66a555b0c19cf532436eda29e930be34 # Parent e43fd1623fe1e72651a0cf341ee6ffb2ddfb7fbc do not disclose proxy user and password in debug messages diff -r e43fd1623fe1 -r 36ab673f66a5 mercurial/httprepo.py --- a/mercurial/httprepo.py Tue Sep 26 13:58:58 2006 +0200 +++ b/mercurial/httprepo.py Tue Sep 26 14:40:21 2006 -0500 @@ -165,7 +165,8 @@ proxyuser, proxypasswd or ''), proxypath, proxyquery, proxyfrag)) handler = urllib2.ProxyHandler({scheme: proxyurl}) - ui.debug(_('proxying through %s\n') % proxyurl) + ui.debug(_('proxying through http://%s:%s\n') % + (proxyhost, proxyport)) # urllib2 takes proxy values from the environment and those # will take precedence if found, so drop them