hgext/histedit.py
changeset 46908 4452cb788404
parent 46907 ffd3e823a7e5
child 46941 d689d48527ea
--- a/hgext/histedit.py	Mon Apr 12 03:01:04 2021 +0200
+++ b/hgext/histedit.py	Mon Apr 12 06:34:54 2021 +0200
@@ -1042,7 +1042,7 @@
     if opts is None:
         opts = {}
     dest = ui.expandpath(remote or b'default-push', remote or b'default')
-    dest, branches = hg.parseurl(dest, None)[:2]
+    dest, branches = urlutil.parseurl(dest, None)[:2]
     ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(dest))
 
     revs, checkout = hg.addbranchrevs(repo, repo, branches, None)