mercurial/commands.py
changeset 16990 1dbe8a2b1b96
parent 16953 634ad0b24ba2
child 16991 1aae34f109fd
equal deleted inserted replaced
16989:0b1d15194b3c 16990:1dbe8a2b1b96
  2490     [('o', 'output', '',
  2490     [('o', 'output', '',
  2491      _('print output to file with formatted name'), _('FORMAT')),
  2491      _('print output to file with formatted name'), _('FORMAT')),
  2492     ('', 'switch-parent', None, _('diff against the second parent')),
  2492     ('', 'switch-parent', None, _('diff against the second parent')),
  2493     ('r', 'rev', [], _('revisions to export'), _('REV')),
  2493     ('r', 'rev', [], _('revisions to export'), _('REV')),
  2494     ] + diffopts,
  2494     ] + diffopts,
  2495     _('[OPTION]... [-o OUTFILESPEC] REV...'))
  2495     _('[OPTION]... [-o OUTFILESPEC] [-r] REV...'))
  2496 def export(ui, repo, *changesets, **opts):
  2496 def export(ui, repo, *changesets, **opts):
  2497     """dump the header and diffs for one or more changesets
  2497     """dump the header and diffs for one or more changesets
  2498 
  2498 
  2499     Print the changeset header and diffs for one or more revisions.
  2499     Print the changeset header and diffs for one or more revisions.
  2500 
  2500