mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
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:
parent
511036e5cd
commit
258c50d8f2
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user