mercurial/commands.py
changeset 15009 caa5283390f8
parent 14986 70e11de6964d
child 15020 607f1434501d
equal deleted inserted replaced
15008:d0424f39984c 15009:caa5283390f8
  4145 
  4145 
  4146 @command('revert',
  4146 @command('revert',
  4147     [('a', 'all', None, _('revert all changes when no arguments given')),
  4147     [('a', 'all', None, _('revert all changes when no arguments given')),
  4148     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
  4148     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
  4149     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  4149     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  4150     ('', 'no-backup', None, _('do not save backup copies of files')),
  4150     ('C', 'no-backup', None, _('do not save backup copies of files')),
  4151     ] + walkopts + dryrunopts,
  4151     ] + walkopts + dryrunopts,
  4152     _('[OPTION]... [-r REV] [NAME]...'))
  4152     _('[OPTION]... [-r REV] [NAME]...'))
  4153 def revert(ui, repo, *pats, **opts):
  4153 def revert(ui, repo, *pats, **opts):
  4154     """restore files to their checkout state
  4154     """restore files to their checkout state
  4155 
  4155