[PATCH] revert: note that added files are left as is

Adrian Buehlmann adrian at cadifra.com
Fri Apr 1 16:14:46 CDT 2011


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1301690698 -7200
# Node ID e5b96eb534d26b3bde119dee7c0281cb9fd684ab
# Parent  5ed036e42fd9d2890d1312636eeb68e78b2ff759
revert: note that added files are left as is

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -3370,8 +3370,9 @@
     directory, the reverted files will thus appear modified
     afterwards.
 
-    If a file has been deleted, it is restored. If the executable mode
-    of a file was changed, it is reset.
+    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.


More information about the Mercurial-devel mailing list