Mercurial > hg
comparison hgext/patchbomb.py @ 4564:d48e1b5f8265
patchbomb: 0c61124ad877 moved setremoteconfig into cmdutil
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue, 12 Jun 2007 14:39:36 -0700 |
parents | ead2fa544cbf |
children | 1cf908c00479 |
comparison
equal
deleted
inserted
replaced
4563:8044be585b91 | 4564:d48e1b5f8265 |
---|---|
227 mail.validateconfig(ui) | 227 mail.validateconfig(ui) |
228 | 228 |
229 if not (revs or opts.get('rev') or opts.get('outgoing')): | 229 if not (revs or opts.get('rev') or opts.get('outgoing')): |
230 raise util.Abort(_('specify at least one changeset with -r or -o')) | 230 raise util.Abort(_('specify at least one changeset with -r or -o')) |
231 | 231 |
232 commands.setremoteconfig(ui, opts) | 232 cmdutil.setremoteconfig(ui, opts) |
233 if opts.get('outgoing') and opts.get('bundle'): | 233 if opts.get('outgoing') and opts.get('bundle'): |
234 raise util.Abort(_("--outgoing mode always on with --bundle; do not re-specify --outgoing")) | 234 raise util.Abort(_("--outgoing mode always on with --bundle; do not re-specify --outgoing")) |
235 | 235 |
236 if opts.get('outgoing') or opts.get('bundle'): | 236 if opts.get('outgoing') or opts.get('bundle'): |
237 if len(revs) > 1: | 237 if len(revs) > 1: |