equal
deleted
inserted
replaced
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 |