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 |