hgext/patchbomb.py
changeset 4486 c15955bde7dd
parent 4485 6d2d1dcd5f74
child 4487 ead2fa544cbf
equal deleted inserted replaced
4485:6d2d1dcd5f74 4486:c15955bde7dd
   226     if not opts['test']:
   226     if not opts['test']:
   227         mail.validateconfig(ui)
   227         mail.validateconfig(ui)
   228 
   228 
   229     # option handling
   229     # option handling
   230     commands.setremoteconfig(ui, opts)
   230     commands.setremoteconfig(ui, opts)
   231     if opts.get('outgoint') and opts.get('bundle'):
   231     if opts.get('outgoing') and opts.get('bundle'):
   232         raise util.Abort(_("--outgoing mode always on with --bundle; do not re-specify --outgoing"))
   232         raise util.Abort(_("--outgoing mode always on with --bundle; do not re-specify --outgoing"))
   233 
   233 
   234     if opts.get('outgoing') or opts.get('bundle'):
   234     if opts.get('outgoing') or opts.get('bundle'):
   235         if len(revs) > 1:
   235         if len(revs) > 1:
   236             raise util.Abort(_("too many destinations"))
   236             raise util.Abort(_("too many destinations"))