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, |