equal
deleted
inserted
replaced
2020 raise error.Abort(_("export requires at least one changeset")) |
2020 raise error.Abort(_("export requires at least one changeset")) |
2021 if len(revs) > 1: |
2021 if len(revs) > 1: |
2022 ui.note(_('exporting patches:\n')) |
2022 ui.note(_('exporting patches:\n')) |
2023 else: |
2023 else: |
2024 ui.note(_('exporting patch:\n')) |
2024 ui.note(_('exporting patch:\n')) |
|
2025 ui.pager('export') |
2025 cmdutil.export(repo, revs, template=opts.get('output'), |
2026 cmdutil.export(repo, revs, template=opts.get('output'), |
2026 switch_parent=opts.get('switch_parent'), |
2027 switch_parent=opts.get('switch_parent'), |
2027 opts=patch.diffallopts(ui, opts)) |
2028 opts=patch.diffallopts(ui, opts)) |
2028 |
2029 |
2029 @command('files', |
2030 @command('files', |