mercurial/localrepo.py
changeset 35839 9dad46c23185
parent 35785 ba15580e53d5
child 35840 b43b314cc46a
equal deleted inserted replaced
35838:f484b9d95c23 35839:9dad46c23185
  1572 
  1572 
  1573     @unfilteredmethod
  1573     @unfilteredmethod
  1574     def _refreshfilecachestats(self, tr):
  1574     def _refreshfilecachestats(self, tr):
  1575         """Reload stats of cached files so that they are flagged as valid"""
  1575         """Reload stats of cached files so that they are flagged as valid"""
  1576         for k, ce in self._filecache.items():
  1576         for k, ce in self._filecache.items():
  1577             if k == 'dirstate' or k not in self.__dict__:
  1577             k = pycompat.sysstr(k)
       
  1578             if k == r'dirstate' or k not in self.__dict__:
  1578                 continue
  1579                 continue
  1579             ce.refresh()
  1580             ce.refresh()
  1580 
  1581 
  1581     def _lock(self, vfs, lockname, wait, releasefn, acquirefn, desc,
  1582     def _lock(self, vfs, lockname, wait, releasefn, acquirefn, desc,
  1582               inheritchecker=None, parentenvvar=None):
  1583               inheritchecker=None, parentenvvar=None):