Mercurial > hg
changeset 31466:b6bbfbaa205a
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.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 16 Mar 2017 11:17:55 -0700 |
parents | da83f12d7a88 |
children | 08ecec297521 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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):