Mercurial > hg
diff mercurial/localrepo.py @ 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 | fb1b5cd17664 |
children | 2471368281d1 |
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)