hgext/histedit.py
changeset 46907 ffd3e823a7e5
parent 46468 11ce2977572f
child 46908 4452cb788404
--- a/hgext/histedit.py	Sun Apr 11 23:54:35 2021 +0200
+++ b/hgext/histedit.py	Mon Apr 12 03:01:04 2021 +0200
@@ -242,6 +242,7 @@
 from mercurial.utils import (
     dateutil,
     stringutil,
+    urlutil,
 )
 
 pickle = util.pickle
@@ -1042,7 +1043,7 @@
         opts = {}
     dest = ui.expandpath(remote or b'default-push', remote or b'default')
     dest, branches = hg.parseurl(dest, None)[:2]
-    ui.status(_(b'comparing with %s\n') % util.hidepassword(dest))
+    ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest))
 
     revs, checkout = hg.addbranchrevs(repo, repo, branches, None)
     other = hg.peer(repo, opts, dest)