# HG changeset patch # User Christian Ebert # Date 2007-12-16 21:55:23 # Node ID eae4553b2763657986e396d1a144c90d7b7bd11b # Parent cd893635b54243982b4da0015cad1e7bf71fb344 patchbomb: make "hg email -b" w/o destination work as advertised diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py --- a/hgext/patchbomb.py +++ b/hgext/patchbomb.py @@ -232,7 +232,8 @@ def patchbomb(ui, repo, *revs, **opts): # really sending mail.validateconfig(ui) - if not (revs or opts.get('rev') or opts.get('outgoing')): + if not (revs or opts.get('rev') + or opts.get('outgoing') or opts.get('bundle')): raise util.Abort(_('specify at least one changeset with -r or -o')) cmdutil.setremoteconfig(ui, opts)