equal
deleted
inserted
replaced
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")) |