Mercurial > hg
changeset 32120:8ca9b3add033
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.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 02 May 2017 02:04:55 +0200 |
parents | 4c565c1b4747 |
children | 5f8450df5562 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue May 02 02:03:56 2017 +0200 +++ b/mercurial/localrepo.py Tue May 02 02:04:55 2017 +0200 @@ -865,10 +865,6 @@ 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')