hgext/narrow/narrowcommands.py
changeset 46908 4452cb788404
parent 46907 ffd3e823a7e5
child 46937 8e6911426b88
--- a/hgext/narrow/narrowcommands.py	Mon Apr 12 03:01:04 2021 +0200
+++ b/hgext/narrow/narrowcommands.py	Mon Apr 12 06:34:54 2021 +0200
@@ -594,7 +594,7 @@
         # be used for finding local-only changes for narrowing. They will
         # also define the set of revisions to update for widening.
         remotepath = ui.expandpath(remotepath or b'default')
-        url, branches = hg.parseurl(remotepath)
+        url, branches = urlutil.parseurl(remotepath)
         ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
         remote = hg.peer(repo, opts, url)