Show More
@@ -4908,8 +4908,10 b' def revert(ui, repo, *pats, **opts):' | |||||
4908 | """restore files to their checkout state |
|
4908 | """restore files to their checkout state | |
4909 |
|
4909 | |||
4910 | .. note:: |
|
4910 | .. note:: | |
|
4911 | ||||
4911 | To check out earlier revisions, you should use :hg:`update REV`. |
|
4912 | To check out earlier revisions, you should use :hg:`update REV`. | |
4912 |
To cancel a merge (and lose your changes), use |
|
4913 | To cancel an uncommitted merge (and lose your changes), use | |
|
4914 | :hg:`update --clean .`. | |||
4913 |
|
4915 | |||
4914 | With no revision specified, revert the specified files or directories |
|
4916 | With no revision specified, revert the specified files or directories | |
4915 | to the contents they had in the parent of the working directory. |
|
4917 | 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