Show More
@@ -3019,8 +3019,11 b' def resolve(ui, repo, *pats, **opts):' | |||||
3019 | def revert(ui, repo, *pats, **opts): |
|
3019 | def revert(ui, repo, *pats, **opts): | |
3020 | """restore individual files or directories to an earlier state |
|
3020 | """restore individual files or directories to an earlier state | |
3021 |
|
3021 | |||
3022 | (Use update -r to check out earlier revisions, revert does not |
|
3022 | NOTE: This command is most likely not what you are looking for. revert | |
3023 | change the working directory parents.) |
|
3023 | will partially overwrite content in the working directory without changing | |
|
3024 | the working directory parents. Use :hg:`update -r rev` to check out earlier | |||
|
3025 | revisions, or :hg:`update --clean .` to undo a merge which has added | |||
|
3026 | another parent. | |||
3024 |
|
3027 | |||
3025 | With no revision specified, revert the named files or directories |
|
3028 | With no revision specified, revert the named files or directories | |
3026 | to the contents they had in the parent of the working directory. |
|
3029 | to the contents they had in the parent of the working directory. |
General Comments 0
You need to be logged in to leave comments.
Login now