# HG changeset patch # User Christian Ebert # Date 2007-12-16 21:55:23 # Node ID 659955e2e36686a0a6a23aa31fbde23c525df0ef # Parent c722bd73c948a1b6ed1fc040275aeded061998b1 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 @@ -228,7 +228,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)