hgext/patchbomb.py
changeset 46908 4452cb788404
parent 46907 ffd3e823a7e5
child 46938 a48f15f1c178
--- a/hgext/patchbomb.py	Mon Apr 12 03:01:04 2021 +0200
+++ b/hgext/patchbomb.py	Mon Apr 12 06:34:54 2021 +0200
@@ -531,7 +531,7 @@
     '''Return the revisions present locally but not in dest'''
     ui = repo.ui
     url = ui.expandpath(dest or b'default-push', dest or b'default')
-    url = hg.parseurl(url)[0]
+    url = urlutil.parseurl(url)[0]
     ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
 
     revs = [r for r in revs if r >= 0]