cleanup: drop the deprecated 'localrepo.wfile' method

This was deprecated in favor of 'localrepo.wvfs.join'. We can now drop it for the
future 4.3.
This commit is contained in:
Pierre-Yves David 2017-05-02 02:04:55 +02:00
parent 511036e5cd
commit 258c50d8f2

View File

@ -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')