equal
deleted
inserted
replaced
4932 _('[OPTION]... [-r REV] [NAME]...')) |
4932 _('[OPTION]... [-r REV] [NAME]...')) |
4933 def revert(ui, repo, *pats, **opts): |
4933 def revert(ui, repo, *pats, **opts): |
4934 """restore files to their checkout state |
4934 """restore files to their checkout state |
4935 |
4935 |
4936 .. note:: |
4936 .. note:: |
4937 |
|
4938 To check out earlier revisions, you should use :hg:`update REV`. |
4937 To check out earlier revisions, you should use :hg:`update REV`. |
4939 To cancel an uncommitted merge (and lose your changes), use |
4938 To cancel an uncommitted merge (and lose your changes), use |
4940 :hg:`update --clean .`. |
4939 :hg:`update --clean .`. |
4941 |
4940 |
4942 With no revision specified, revert the specified files or directories |
4941 With no revision specified, revert the specified files or directories |