hgext/patchbomb.py
branchstable
changeset 48017 ff2304dd3ba9
parent 46948 946db89607c8
child 48116 5ced12cfa41b
--- a/hgext/patchbomb.py	Thu Sep 09 10:42:28 2021 +0200
+++ b/hgext/patchbomb.py	Mon Sep 20 15:16:10 2021 +0200
@@ -533,7 +533,7 @@
 def _getoutgoing(repo, dest, revs):
     '''Return the revisions present locally but not in dest'''
     ui = repo.ui
-    paths = urlutil.get_push_paths(repo, ui, [dest])
+    paths = urlutil.get_push_paths(repo, ui, [dest] if dest else None)
     safe_paths = [urlutil.hidepassword(p.rawloc) for p in paths]
     ui.status(_(b'comparing with %s\n') % b','.join(safe_paths))