mercurial/commands.py
changeset 34958 5910db5d1913
parent 34948 ff178743e59b
child 35017 e61d661b0350
equal deleted inserted replaced
34957:58e7791e243b 34958:5910db5d1913
  4515 @command('revert',
  4515 @command('revert',
  4516     [('a', 'all', None, _('revert all changes when no arguments given')),
  4516     [('a', 'all', None, _('revert all changes when no arguments given')),
  4517     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
  4517     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
  4518     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  4518     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  4519     ('C', 'no-backup', None, _('do not save backup copies of files')),
  4519     ('C', 'no-backup', None, _('do not save backup copies of files')),
  4520     ('i', 'interactive', None,
  4520     ('i', 'interactive', None, _('interactively select the changes')),
  4521             _('interactively select the changes (EXPERIMENTAL)')),
       
  4522     ] + walkopts + dryrunopts,
  4521     ] + walkopts + dryrunopts,
  4523     _('[OPTION]... [-r REV] [NAME]...'))
  4522     _('[OPTION]... [-r REV] [NAME]...'))
  4524 def revert(ui, repo, *pats, **opts):
  4523 def revert(ui, repo, *pats, **opts):
  4525     """restore files to their checkout state
  4524     """restore files to their checkout state
  4526 
  4525