author | Adrian Buehlmann <adrian@cadifra.com> |
Fri, 27 May 2011 21:11:44 +0200 | |
changeset 14467 | f3b50431eb7e |
parent 14466 | bd34a027f3ed |
child 14468 | 755aabb3eada |
--- a/mercurial/context.py Tue May 31 13:18:56 2011 +0200 +++ b/mercurial/context.py Fri May 27 21:11:44 2011 +0200 @@ -863,13 +863,7 @@ except OSError, inst: if inst.errno != errno.ENOENT: raise - for f in list: - if self._repo.dirstate[f] == 'a': - self._repo.dirstate.drop(f) - elif f not in self._repo.dirstate: - self._repo.ui.warn(_("%s not tracked!\n") % f) - else: - self._repo.dirstate.remove(f) + self.forget(list) finally: wlock.release()