diff -r 3f29765e0d95 -r 946db89607c8 hgext/patchbomb.py --- 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: