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