# HG changeset patch # User Matt Mackall # Date 1307476074 18000 # Node ID 691925bd8bb83122e526f74b2ecb7c3ce3b0f3dd # Parent afe0d4c24866f21125c9df967e9dae31c3194b64 revert: remove some redundancy in basic description diff -r afe0d4c24866 -r 691925bd8bb8 mercurial/commands.py --- a/mercurial/commands.py Tue Jun 07 14:19:05 2011 -0500 +++ b/mercurial/commands.py Tue Jun 07 14:47:54 2011 -0500 @@ -4093,7 +4093,7 @@ 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 first parent of the working directory. + to the state they had in the first parent of the working directory. This restores the contents of the affected files to an unmodified state and unschedules adds, removes, copies, and renames. @@ -4108,10 +4108,6 @@ directory, the reverted files will thus appear modified afterwards. - If a file has been deleted, it is restored. Files scheduled for - addition are just unscheduled and left as they are. If the - executable mode of a file was changed, it is reset. - If names are given, all files matching the names are reverted. If no arguments are given, no files are reverted.