workingctx.remove: don't stat files again after unlinking
we already know at this point that they have been unlinked
--- a/mercurial/context.py Tue May 24 17:16:31 2011 -0500
+++ b/mercurial/context.py Tue May 24 14:52:23 2011 +0200
@@ -862,9 +862,7 @@
if inst.errno != errno.ENOENT:
raise
for f in list:
- if unlink and os.path.lexists(self._repo.wjoin(f)):
- self._repo.ui.warn(_("%s still exists!\n") % f)
- elif self._repo.dirstate[f] == 'a':
+ if self._repo.dirstate[f] == 'a':
self._repo.dirstate.forget(f)
elif f not in self._repo.dirstate:
self._repo.ui.warn(_("%s not tracked!\n") % f)