507 '(with -b/--bundle)')), |
507 '(with -b/--bundle)')), |
508 ('', 'base', [], _('a base changeset to specify instead of a destination ' |
508 ('', 'base', [], _('a base changeset to specify instead of a destination ' |
509 '(with -b/--bundle)'), _('REV')), |
509 '(with -b/--bundle)'), _('REV')), |
510 ('', 'intro', None, _('send an introduction email for a single patch')), |
510 ('', 'intro', None, _('send an introduction email for a single patch')), |
511 ] + emailopts + cmdutil.remoteopts, |
511 ] + emailopts + cmdutil.remoteopts, |
512 _('hg email [OPTION]... [DEST]...')) |
512 _('hg email [OPTION]... [DEST]...'), |
|
513 helpcategory=command.CATEGORY_IMPORT_EXPORT) |
513 def email(ui, repo, *revs, **opts): |
514 def email(ui, repo, *revs, **opts): |
514 '''send changesets by email |
515 '''send changesets by email |
515 |
516 |
516 By default, diffs are sent in the format generated by |
517 By default, diffs are sent in the format generated by |
517 :hg:`export`, one per message. The series starts with a "[PATCH 0 |
518 :hg:`export`, one per message. The series starts with a "[PATCH 0 |