mercurial/commands.py
changeset 23690 de5c76aaeaf4
parent 23620 3d4aa20b775d
child 23742 3a4d8a6ce432
equal deleted inserted replaced
23689:4fedf2a9b538 23690:de5c76aaeaf4
  3167         ui.note(_('exporting patches:\n'))
  3167         ui.note(_('exporting patches:\n'))
  3168     else:
  3168     else:
  3169         ui.note(_('exporting patch:\n'))
  3169         ui.note(_('exporting patch:\n'))
  3170     cmdutil.export(repo, revs, template=opts.get('output'),
  3170     cmdutil.export(repo, revs, template=opts.get('output'),
  3171                  switch_parent=opts.get('switch_parent'),
  3171                  switch_parent=opts.get('switch_parent'),
  3172                  opts=patch.diffopts(ui, opts))
  3172                  opts=patch.diffallopts(ui, opts))
  3173 
  3173 
  3174 @command('files',
  3174 @command('files',
  3175     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),
  3175     [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),
  3176      ('0', 'print0', None, _('end filenames with NUL, for use with xargs')),
  3176      ('0', 'print0', None, _('end filenames with NUL, for use with xargs')),
  3177     ] + walkopts + formatteropts,
  3177     ] + walkopts + formatteropts,