hgext/patchbomb.py
changeset 46948 946db89607c8
parent 46938 a48f15f1c178
child 48017 ff2304dd3ba9
--- a/hgext/patchbomb.py	Wed Apr 14 14:35:13 2021 +0200
+++ b/hgext/patchbomb.py	Wed Apr 14 17:02:20 2021 +0200
@@ -382,7 +382,10 @@
     if btype:
         opts['type'] = btype
     try:
-        commands.bundle(ui, repo, tmpfn, dest, **opts)
+        dests = []
+        if dest:
+            dests = [dest]
+        commands.bundle(ui, repo, tmpfn, *dests, **opts)
         return util.readfile(tmpfn)
     finally:
         try: