# HG changeset patch # User Adrian Buehlmann # Date 1301690698 -7200 # Node ID 3c43dd85d3d130ad7c0a1b8ed0dd79e6988cb082 # Parent 5ed036e42fd9d2890d1312636eeb68e78b2ff759 revert: note that added files are left as is diff -r 5ed036e42fd9 -r 3c43dd85d3d1 mercurial/commands.py --- a/mercurial/commands.py Fri Apr 01 20:40:27 2011 +0200 +++ b/mercurial/commands.py Fri Apr 01 22:44:58 2011 +0200 @@ -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.