Mercurial > public > mercurial-scm > hg-stable
diff mercurial/httprepo.py @ 3170: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 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