Mercurial > hg
changeset 31429:2471368281d1
localrepo: deprecated '_link'
That method had a total on 1 internal user...
G: changed mercurial/localrepo.py
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 05 Aug 2016 14:15:45 +0200 |
parents | 9b361478b03a |
children | 807387581d89 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Aug 05 14:19:31 2016 +0200 +++ b/mercurial/localrepo.py Fri Aug 05 14:15:45 2016 +0200 @@ -981,6 +981,8 @@ return self.wvfs(f, mode) def _link(self, f): + self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'", + '4.0') return self.wvfs.islink(f) def _loadfilter(self, filter):