Commits

Augie Fackler  committed ab6f165

Handle hidepassword move from url to util.

  • Participants
  • Parent commits 1762b34

Comments (0)

Files changed (1)

File hg_histedit.py

 else:
     from mercurial.patch import updatedir
 
+try:
+    hidepassword = util.hidepassword
+except AttributeError:
+    hidepassword = url.hidepassword
+
 # almost entirely stolen from the git-rebase--interactive.sh source
 editcomment = """
 
         if revs:
             revs = [repo.lookup(rev) for rev in revs]
 
-        ui.status(_('comparing with %s\n') % url.hidepassword(dest))
+        ui.status(_('comparing with %s\n') % hidepassword(dest))
         parent = findoutgoing(repo, other, force=opts.get('force'))
     else:
         if opts.get('force'):