mercurial/commands.py
changeset 10611 e764f24a45ee
parent 10596 7648f32713f2
child 10617 da7662ea741f
equal deleted inserted replaced
10610:eea2db5f56ba 10611:e764f24a45ee
  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