Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/httprepo.py @ 3160:36ab673f66a5
do not disclose proxy user and password in debug messages
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Tue, 26 Sep 2006 14:40:21 -0500 |
parents | cff3c58a5766 |
children | 53e843840349 |
line wrap: on
line diff
--- a/mercurial/httprepo.py +++ b/mercurial/httprepo.py @@ -165,7 +165,8 @@ class httprepository(remoterepository): 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