# HG changeset patch # User Matt Mackall # Date 1197303861 21600 # Node ID 7e6ddde68a2359c3c6d40bd4c740c3496d4be93b # Parent 0c608a8d9c5f1c8689783b61e13fd0c7bc8eb15d rm: complain more about removing added files diff -r 0c608a8d9c5f -r 7e6ddde68a23 mercurial/commands.py --- 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: