comparison mercurial/localrepo.py @ 31438: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 b6bbfbaa205a
comparison
equal deleted inserted replaced
31437:9b361478b03a 31438:2471368281d1
979 def wfile(self, f, mode='r'): 979 def wfile(self, f, mode='r'):
980 self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.1') 980 self.ui.deprecwarn("use 'repo.wvfs' instead of 'repo.wfile'", '4.1')
981 return self.wvfs(f, mode) 981 return self.wvfs(f, mode)
982 982
983 def _link(self, f): 983 def _link(self, f):
984 self.ui.deprecwarn("use 'repo.wvfs.islink' instead of 'repo._link'",
985 '4.0')
984 return self.wvfs.islink(f) 986 return self.wvfs.islink(f)
985 987
986 def _loadfilter(self, filter): 988 def _loadfilter(self, filter):
987 if filter not in self.filterpats: 989 if filter not in self.filterpats:
988 l = [] 990 l = []