# HG changeset patch # User Pierre-Yves David # Date 1489688275 25200 # Node ID b6bbfbaa205a097b3eca4955f35e912911060140 # Parent da83f12d7a88c82f4468b588c22efe02c0c11ea7 localrepo: fix deprecation warning version of wfile The patch lingered a bit too long in my local clone and I messed up when I updated the version number. Since nobody caught it, I'm fixing the version after the fact. 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):