mercurial/commands.py
changeset 12754 eaac5e8cb637
parent 12750 05bd2658bbb3
child 12765 5eed9ceebd64
equal deleted inserted replaced
12753:ef5eaf53f4f7 12754:eaac5e8cb637
  3023 def revert(ui, repo, *pats, **opts):
  3023 def revert(ui, repo, *pats, **opts):
  3024     """restore individual files or directories to an earlier state
  3024     """restore individual files or directories to an earlier state
  3025 
  3025 
  3026     .. note::
  3026     .. note::
  3027        This command is most likely not what you are looking for.
  3027        This command is most likely not what you are looking for.
  3028        revert will partially overwrite content in the working
  3028        Revert will partially overwrite content in the working
  3029        directory without changing the working directory parents. Use
  3029        directory without changing the working directory parents. Use
  3030        :hg:`update -r rev` to check out earlier revisions, or
  3030        :hg:`update -r rev` to check out earlier revisions, or
  3031        :hg:`update --clean .` to undo a merge which has added another
  3031        :hg:`update --clean .` to undo a merge which has added another
  3032        parent.
  3032        parent.
  3033 
  3033