mercurial/commands.py
changeset 24359 521fe8287dd5
parent 24309 fefcafda10b8
child 24364 135b23868f45
equal deleted inserted replaced
24358:8d9e9063b040 24359:521fe8287dd5
  5373 @command('revert',
  5373 @command('revert',
  5374     [('a', 'all', None, _('revert all changes when no arguments given')),
  5374     [('a', 'all', None, _('revert all changes when no arguments given')),
  5375     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
  5375     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
  5376     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  5376     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  5377     ('C', 'no-backup', None, _('do not save backup copies of files')),
  5377     ('C', 'no-backup', None, _('do not save backup copies of files')),
       
  5378     ('i', 'interactive', None, _('interactively select the changes')),
  5378     ] + walkopts + dryrunopts,
  5379     ] + walkopts + dryrunopts,
  5379     _('[OPTION]... [-r REV] [NAME]...'))
  5380     _('[OPTION]... [-r REV] [NAME]...'))
  5380 def revert(ui, repo, *pats, **opts):
  5381 def revert(ui, repo, *pats, **opts):
  5381     """restore files to their checkout state
  5382     """restore files to their checkout state
  5382 
  5383