changeset 5674:659955e2e366

patchbomb: make "hg email -b" w/o destination work as advertised
author Christian Ebert <blacktrash@gmx.net>
date Sun, 16 Dec 2007 22:55:23 +0100
parents c722bd73c948
children a5fe27b83a4a
files hgext/patchbomb.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)