mercurial/localrepo.py
changeset 31428 9b361478b03a
parent 31418 fb1b5cd17664
child 31429 2471368281d1
equal deleted inserted replaced
31427:b2fb0fd239b8 31428:9b361478b03a
  1026 
  1026 
  1027     def adddatafilter(self, name, filter):
  1027     def adddatafilter(self, name, filter):
  1028         self._datafilters[name] = filter
  1028         self._datafilters[name] = filter
  1029 
  1029 
  1030     def wread(self, filename):
  1030     def wread(self, filename):
  1031         if self._link(filename):
  1031         if self.wvfs.islink(filename):
  1032             data = self.wvfs.readlink(filename)
  1032             data = self.wvfs.readlink(filename)
  1033         else:
  1033         else:
  1034             data = self.wvfs.read(filename)
  1034             data = self.wvfs.read(filename)
  1035         return self._filter(self._encodefilterpats, filename, data)
  1035         return self._filter(self._encodefilterpats, filename, data)
  1036 
  1036