diff mercurial/commands.py @ 28902:eb017d52899d

remove: fix --force option help description (issue5177) Before this commit --force option help description stated that file was removed and deleted even if file was added or modified which is not true. Force option removes added file only from dirstate, it doesn't delete it from the filesystem.
author liscju <piotr.listkiewicz@gmail.com>
date Wed, 13 Apr 2016 09:56:51 +0200
parents 8d398155bfda
children 867d6ba2353d
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Apr 05 17:39:59 2016 +0100
+++ b/mercurial/commands.py	Wed Apr 13 09:56:51 2016 +0200
@@ -5968,7 +5968,7 @@
 @command('^remove|rm',
     [('A', 'after', None, _('record delete for missing files')),
     ('f', 'force', None,
-     _('remove (and delete) file even if added or modified')),
+     _('forget added files, delete modified files')),
     ] + subrepoopts + walkopts,
     _('[OPTION]... FILE...'),
     inferrepo=True)