diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py index a741e112e8..d9b6dbccc9 100644 --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -865,10 +865,6 @@ class localrepository(object): def pathto(self, f, cwd=None): return self.dirstate.pathto(f, cwd) - def wfile(self, f, mode='r'): - self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.2') - return self.wvfs(f, mode) - def _link(self, f): self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'", '4.2')