# HG changeset patch # User Matt Mackall # Date 1307474319 18000 # Node ID 07ee46a2ece31d41fd1d30bdf6bbc2c01093d47a # Parent 944d9088da96c9c1e6c71f97f7eb77737cc28941 revert: simplify usage note This points people looking for other commands to the right place with a minimum of verbiage. diff -r 944d9088da96 -r 07ee46a2ece3 mercurial/commands.py --- a/mercurial/commands.py Mon Jun 06 17:38:32 2011 -0500 +++ b/mercurial/commands.py Tue Jun 07 14:18:39 2011 -0500 @@ -4089,12 +4089,8 @@ """restore files to their checkout state .. note:: - This command is most likely not what you are looking for. - Revert will partially overwrite content in the working - directory without changing the working directory parents. Use - :hg:`update -r rev` to check out earlier revisions, or - :hg:`update --clean .` to undo a merge which has added another - parent. + To check out earlier revisions, you should use :hg:`update REV`. + To cancel a merge (and lose your changes), use :hg:`update --clean .`. With no revision specified, revert the named files or directories to the contents they had in the parent of the working directory.