Mercurial > hg
changeset 14543:691925bd8bb8
revert: remove some redundancy in basic description
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 07 Jun 2011 14:47:54 -0500 |
parents | afe0d4c24866 |
children | 586f33cc3cb9 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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.