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.
--- 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):