diff -r 5a931246afc5 -r a67e866f46f9 mercurial/context.py --- 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()