diff -r da83f12d7a88 -r b6bbfbaa205a mercurial/localrepo.py --- a/mercurial/localrepo.py Wed Mar 15 15:07:14 2017 -0700 +++ b/mercurial/localrepo.py Thu Mar 16 11:17:55 2017 -0700 @@ -977,7 +977,7 @@ return self.dirstate.pathto(f, cwd) def wfile(self, f, mode='r'): - self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.1') + self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.2') return self.wvfs(f, mode) def _link(self, f):