--- a/mercurial/commands.py Fri Sep 16 17:41:36 2011 -0500
+++ b/mercurial/commands.py Fri Sep 16 17:53:58 2011 -0500
@@ -4145,8 +4145,8 @@
' to force removal)\n') % m.rel(f))
ret = 1
for f in added:
- ui.warn(_('not removing %s: file has been marked for add (use -f'
- ' to force removal)\n') % m.rel(f))
+ ui.warn(_('not removing %s: file has been marked for add'
+ ' (use forget to undo)\n') % m.rel(f))
ret = 1
for f in sorted(list):
--- a/tests/test-remove.t Fri Sep 16 17:41:36 2011 -0500
+++ b/tests/test-remove.t Fri Sep 16 17:53:58 2011 -0500
@@ -29,7 +29,7 @@
$ echo b > bar
$ hg add bar
$ remove bar
- not removing bar: file has been marked for add (use -f to force removal)
+ not removing bar: file has been marked for add (use forget to undo)
exit code: 1
A bar
./bar