do not disclose proxy user and password in debug messages
authorTK Soh <teekaysoh@yahoo.com>
Tue, 26 Sep 2006 14:40:21 -0500
changeset 3170 36ab673f66a5
parent 3159 e43fd1623fe1
child 3171 706277866251
do not disclose proxy user and password in debug messages
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