mercurial/commands.py
changeset 32431 9fd9f91b0c43
parent 32377 c942c83ac2ec
child 32451 bce5ebe72859
equal deleted inserted replaced
32430:1f4be037f558 32431:9fd9f91b0c43
  1999     if len(revs) > 1:
  1999     if len(revs) > 1:
  2000         ui.note(_('exporting patches:\n'))
  2000         ui.note(_('exporting patches:\n'))
  2001     else:
  2001     else:
  2002         ui.note(_('exporting patch:\n'))
  2002         ui.note(_('exporting patch:\n'))
  2003     ui.pager('export')
  2003     ui.pager('export')
  2004     cmdutil.export(repo, revs, template=opts.get('output'),
  2004     cmdutil.export(repo, revs, fntemplate=opts.get('output'),
  2005                  switch_parent=opts.get('switch_parent'),
  2005                  switch_parent=opts.get('switch_parent'),
  2006                  opts=patch.diffallopts(ui, opts))
  2006                  opts=patch.diffallopts(ui, opts))
  2007 
  2007 
  2008 @command('files',
  2008 @command('files',
  2009     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),
  2009     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),