# HG changeset patch # User Christian Ebert # Date 1197842123 -3600 # Node ID 659955e2e36686a0a6a23aa31fbde23c525df0ef # Parent c722bd73c948a1b6ed1fc040275aeded061998b1 patchbomb: make "hg email -b" w/o destination work as advertised diff -r c722bd73c948 -r 659955e2e366 hgext/patchbomb.py --- a/hgext/patchbomb.py Thu Dec 13 14:25:51 2007 -0600 +++ b/hgext/patchbomb.py Sun Dec 16 22:55:23 2007 +0100 @@ -228,7 +228,8 @@ # 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)