Mercurial > hg
changeset 31428:9b361478b03a
localrepo: use self.wvfs.islink directly
We are about to deprecate the helper function.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 05 Aug 2016 14:19:31 +0200 |
parents | b2fb0fd239b8 |
children | 2471368281d1 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Mar 16 10:10:00 2017 +0530 +++ b/mercurial/localrepo.py Fri Aug 05 14:19:31 2016 +0200 @@ -1028,7 +1028,7 @@ self._datafilters[name] = filter def wread(self, filename): - if self._link(filename): + if self.wvfs.islink(filename): data = self.wvfs.readlink(filename) else: data = self.wvfs.read(filename)