hgext/patchbomb.py
changeset 4489 a11e13d50645
parent 4486 6b84c8d2f66f
child 4491 6d2d1dcd5f74
equal deleted inserted replaced
4488:62019c4427e3 4489:a11e13d50645
   220             try:
   220             try:
   221                 os.unlink(tmpfn)
   221                 os.unlink(tmpfn)
   222             except:
   222             except:
   223                 pass
   223                 pass
   224             os.rmdir(tmpdir)
   224             os.rmdir(tmpdir)
       
   225 
       
   226     if not opts['test']:
       
   227         mail.validateconfig(ui)
   225 
   228 
   226     # option handling
   229     # option handling
   227     commands.setremoteconfig(ui, opts)
   230     commands.setremoteconfig(ui, opts)
   228     if opts.get('outgoint') and opts.get('bundle'):
   231     if opts.get('outgoint') and opts.get('bundle'):
   229         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"))