mercurial/context.py
changeset 14518 a67e866f46f9
parent 14467 f3b50431eb7e
child 14528 0bd69e37fd20
--- a/mercurial/context.py	Thu Jun 02 19:43:17 2011 +0200
+++ b/mercurial/context.py	Thu Jun 02 00:33:33 2011 +0200
@@ -853,20 +853,6 @@
             *[p.rev() for p in self._parents]):
             yield changectx(self._repo, a)
 
-    def remove(self, list, unlink=False):
-        wlock = self._repo.wlock()
-        try:
-            if unlink:
-                for f in list:
-                    try:
-                        util.unlinkpath(self._repo.wjoin(f))
-                    except OSError, inst:
-                        if inst.errno != errno.ENOENT:
-                            raise
-            self.forget(list)
-        finally:
-            wlock.release()
-
     def undelete(self, list):
         pctxs = self.parents()
         wlock = self._repo.wlock()