hgext/patchbomb.py
changeset 46938 a48f15f1c178
parent 46908 4452cb788404
child 46948 946db89607c8
--- a/hgext/patchbomb.py	Wed Apr 14 11:18:48 2021 +0200
+++ b/hgext/patchbomb.py	Wed Apr 14 11:30:49 2021 +0200
@@ -530,9 +530,9 @@
 def _getoutgoing(repo, dest, revs):
     '''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 = urlutil.parseurl(url)[0]
-    ui.status(_(b'comparing with %s\n') % urlutil.hidepassword(url))
+    paths = urlutil.get_push_paths(repo, ui, [dest])
+    safe_paths = [urlutil.hidepassword(p.rawloc) for p in paths]
+    ui.status(_(b'comparing with %s\n') % b','.join(safe_paths))
 
     revs = [r for r in revs if r >= 0]
     if not revs: