changeset 5636:7e6ddde68a23

rm: complain more about removing added files
author Matt Mackall <mpm@selenic.com>
date Mon, 10 Dec 2007 10:24:21 -0600
parents 0c608a8d9c5f
children bdb81d46b2fb
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Dec 10 10:24:14 2007 -0600
+++ b/mercurial/commands.py	Mon Dec 10 10:24:21 2007 -0600
@@ -2029,6 +2029,7 @@
                 forget.append(abs)
                 continue
             reason = _('has been marked for add (use -f to force removal)')
+            exact = 1 # force the message
         elif abs not in repo.dirstate:
             reason = _('is not managed')
         elif opts['after'] and not exact and abs not in deleted: