diff -r 33524c46a092 -r ffd3e823a7e5 hgext/histedit.py --- 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)