diff hgext/patchbomb.py @ 12794:6bf8d48bec8e

merge with stable
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 20 Oct 2010 23:48:33 +0200
parents 338b4b615d33 469850088fc1
children d85e30889f26
line wrap: on
line diff
--- a/hgext/patchbomb.py	Wed Oct 20 16:45:08 2010 -0500
+++ b/hgext/patchbomb.py	Wed Oct 20 23:48:33 2010 +0200
@@ -48,7 +48,7 @@
 import os, errno, socket, tempfile, cStringIO, time
 import email.MIMEMultipart, email.MIMEBase
 import email.Utils, email.Encoders, email.Generator
-from mercurial import cmdutil, commands, hg, mail, patch, util, discovery
+from mercurial import cmdutil, commands, hg, mail, patch, util, discovery, url
 from mercurial.i18n import _
 from mercurial.node import bin
 
@@ -238,7 +238,7 @@
         if revs:
             revs = [repo.lookup(rev) for rev in revs]
         other = hg.repository(hg.remoteui(repo, opts), dest)
-        ui.status(_('comparing with %s\n') % dest)
+        ui.status(_('comparing with %s\n') % url.hidepassword(dest))
         o = discovery.findoutgoing(repo, other)
         if not o:
             ui.status(_("no changes found\n"))