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