mercurial/localrepo.py
changeset 33302 36a415b5a4b2
parent 33278 87bca10a06ed
child 33336 4672db164c98
equal deleted inserted replaced
33301:ca4b78eb11e7 33302:36a415b5a4b2
   419         # post-dirstate-status hooks
   419         # post-dirstate-status hooks
   420         self._postdsstatus = []
   420         self._postdsstatus = []
   421 
   421 
   422         # generic mapping between names and nodes
   422         # generic mapping between names and nodes
   423         self.names = namespaces.namespaces()
   423         self.names = namespaces.namespaces()
       
   424 
       
   425         # Key to signature value.
       
   426         self._sparsesignaturecache = {}
       
   427         # Signature to cached matcher instance.
       
   428         self._sparsematchercache = {}
   424 
   429 
   425     def close(self):
   430     def close(self):
   426         self._writecaches()
   431         self._writecaches()
   427 
   432 
   428     def _loadextensions(self):
   433     def _loadextensions(self):
  1298             # can't use delattr on proxy
  1303             # can't use delattr on proxy
  1299             del self.__dict__['_tagscache']
  1304             del self.__dict__['_tagscache']
  1300 
  1305 
  1301         self.unfiltered()._branchcaches.clear()
  1306         self.unfiltered()._branchcaches.clear()
  1302         self.invalidatevolatilesets()
  1307         self.invalidatevolatilesets()
       
  1308         self._sparsesignaturecache.clear()
  1303 
  1309 
  1304     def invalidatevolatilesets(self):
  1310     def invalidatevolatilesets(self):
  1305         self.filteredrevcache.clear()
  1311         self.filteredrevcache.clear()
  1306         obsolete.clearobscaches(self)
  1312         obsolete.clearobscaches(self)
  1307 
  1313