##// END OF EJS Templates
commands.remove: don't use the unknown list
Alexis S. L. Carvalho -
r4577:b36d8cd1 default
parent child Browse files
Show More
@@ -2099,7 +2099,7 b' def remove(ui, repo, *pats, **opts):'
2099 forget.append(abs)
2099 forget.append(abs)
2100 continue
2100 continue
2101 reason = _('has been marked for add (use -f to force removal)')
2101 reason = _('has been marked for add (use -f to force removal)')
2102 elif abs in unknown:
2102 elif repo.dirstate.state(abs) == '?':
2103 reason = _('is not managed')
2103 reason = _('is not managed')
2104 elif opts['after'] and not exact and abs not in deleted:
2104 elif opts['after'] and not exact and abs not in deleted:
2105 continue
2105 continue
General Comments 0
You need to be logged in to leave comments. Login now