mercurial/context.py
changeset 14429 c4c5e3802e9c
parent 14420 137b03b5aea1
child 14434 cc8c09855d19
--- 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)