changeset 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 e43fd1623fe1
children 706277866251
files mercurial/httprepo.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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