changeset 14545:02cb342950d3

revert: simplify description of effect of -r
author Matt Mackall <mpm@selenic.com>
date Tue, 07 Jun 2011 14:51:18 -0500
parents 586f33cc3cb9
children 99a7cd924636
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Jun 07 14:49:04 2011 -0500
+++ b/mercurial/commands.py	Tue Jun 07 14:51:18 2011 -0500
@@ -4100,12 +4100,8 @@
     Using the -r/--rev or -d/--date options, revert the given files or
     directories to their contents as of a specific revision. This can
     be helpful to "roll back" some or all of an earlier change.
-
-    Revert modifies the working directory. It does not commit any
-    changes, or change the parent of the working directory. If you
-    revert to a revision other than the parent of the working
-    directory, the reverted files will thus appear modified
-    afterwards.
+    Because revert does not change the working directory parents, this
+    will cause these files to appear modified.
 
     If names are given, all files matching the names are reverted.
     If no arguments are given, no files are reverted.