equal
deleted
inserted
replaced
1202 revs = cmdutil.revrange(repo, changesets) |
1202 revs = cmdutil.revrange(repo, changesets) |
1203 if len(revs) > 1: |
1203 if len(revs) > 1: |
1204 ui.note(_('exporting patches:\n')) |
1204 ui.note(_('exporting patches:\n')) |
1205 else: |
1205 else: |
1206 ui.note(_('exporting patch:\n')) |
1206 ui.note(_('exporting patch:\n')) |
1207 patch.export(repo, revs, template=opts.get('output'), |
1207 cmdutil.export(repo, revs, template=opts.get('output'), |
1208 switch_parent=opts.get('switch_parent'), |
1208 switch_parent=opts.get('switch_parent'), |
1209 opts=patch.diffopts(ui, opts)) |
1209 opts=patch.diffopts(ui, opts)) |
1210 |
1210 |
1211 def forget(ui, repo, *pats, **opts): |
1211 def forget(ui, repo, *pats, **opts): |
1212 """forget the specified files on the next commit |
1212 """forget the specified files on the next commit |