Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 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 | 2493a478f395 |
children | 47915bf68c44 |
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: