mercurial/commands.py
changeset 14540 944d9088da96
parent 14532 2498128821a9
child 14541 07ee46a2ece3
equal deleted inserted replaced
14539:558ec14ba6be 14540:944d9088da96
  4084     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  4084     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
  4085     ('', 'no-backup', None, _('do not save backup copies of files')),
  4085     ('', 'no-backup', None, _('do not save backup copies of files')),
  4086     ] + walkopts + dryrunopts,
  4086     ] + walkopts + dryrunopts,
  4087     _('[OPTION]... [-r REV] [NAME]...'))
  4087     _('[OPTION]... [-r REV] [NAME]...'))
  4088 def revert(ui, repo, *pats, **opts):
  4088 def revert(ui, repo, *pats, **opts):
  4089     """restore individual files or directories to an earlier state
  4089     """restore files to their checkout state
  4090 
  4090 
  4091     .. note::
  4091     .. note::
  4092        This command is most likely not what you are looking for.
  4092        This command is most likely not what you are looking for.
  4093        Revert will partially overwrite content in the working
  4093        Revert will partially overwrite content in the working
  4094        directory without changing the working directory parents. Use
  4094        directory without changing the working directory parents. Use