--- a/hgext/narrow/narrowcommands.py Sun Apr 11 23:54:35 2021 +0200
+++ b/hgext/narrow/narrowcommands.py Mon Apr 12 03:01:04 2021 +0200
@@ -36,6 +36,9 @@
util,
wireprototypes,
)
+from mercurial.utils import (
+ urlutil,
+)
table = {}
command = registrar.command(table)
@@ -592,7 +595,7 @@
# also define the set of revisions to update for widening.
remotepath = ui.expandpath(remotepath or b'default')
url, branches = hg.parseurl(remotepath)
- ui.status(_(b'comparing with %s\n') % util.hidepassword(url))
+ ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
remote = hg.peer(repo, opts, url)
try: