##// END OF EJS Templates
patchbomb: hide passwords potentially embedded in urls
Benoit Boissinot -
r12793:46985008 stable
parent child Browse files
Show More
@@ -76,7 +76,7 b' hgrc(5) for details.'
76 76 import os, errno, socket, tempfile, cStringIO, time
77 77 import email.MIMEMultipart, email.MIMEBase
78 78 import email.Utils, email.Encoders, email.Generator
79 from mercurial import cmdutil, commands, hg, mail, patch, util, discovery
79 from mercurial import cmdutil, commands, hg, mail, patch, util, discovery, url
80 80 from mercurial.i18n import _
81 81 from mercurial.node import bin
82 82
@@ -251,7 +251,7 b' def patchbomb(ui, repo, *revs, **opts):'
251 251 if revs:
252 252 revs = [repo.lookup(rev) for rev in revs]
253 253 other = hg.repository(hg.remoteui(repo, opts), dest)
254 ui.status(_('comparing with %s\n') % dest)
254 ui.status(_('comparing with %s\n') % url.hidepassword(dest))
255 255 o = discovery.findoutgoing(repo, other)
256 256 if not o:
257 257 ui.status(_("no changes found\n"))
General Comments 0
You need to be logged in to leave comments. Login now