# HG changeset patch # User TK Soh # Date 2006-09-26 19:40:21 # Node ID 36ab673f66a555b0c19cf532436eda29e930be34 # Parent e43fd1623fe1e72651a0cf341ee6ffb2ddfb7fbc do not disclose proxy user and password in debug messages diff --git a/mercurial/httprepo.py b/mercurial/httprepo.py --- 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