mercurial/localrepo.py
changeset 29920 e35a83cedde1
parent 29918 d9c49138ab93
child 29962 6b5a9a01f29d
equal deleted inserted replaced
29919:519a02267f90 29920:e35a83cedde1
  1277         subsequent operation to reread any outside changes.'''
  1277         subsequent operation to reread any outside changes.'''
  1278         # extension should hook this to invalidate its caches
  1278         # extension should hook this to invalidate its caches
  1279         self.invalidate()
  1279         self.invalidate()
  1280         self.invalidatedirstate()
  1280         self.invalidatedirstate()
  1281 
  1281 
       
  1282     @unfilteredmethod
  1282     def _refreshfilecachestats(self, tr):
  1283     def _refreshfilecachestats(self, tr):
  1283         """Reload stats of cached files so that they are flagged as valid"""
  1284         """Reload stats of cached files so that they are flagged as valid"""
  1284         for k, ce in self._filecache.items():
  1285         for k, ce in self._filecache.items():
  1285             if k == 'dirstate' or k not in self.__dict__:
  1286             if k == 'dirstate' or k not in self.__dict__:
  1286                 continue
  1287                 continue