mercurial/localrepo.py
changeset 38132 2b8cb0ab231c
parent 38128 1cba497491be
child 38239 ead71b15efd5
equal deleted inserted replaced
38131:46c2b19a1263 38132:2b8cb0ab231c
   779     @repofilecache('dirstate')
   779     @repofilecache('dirstate')
   780     def dirstate(self):
   780     def dirstate(self):
   781         return self._makedirstate()
   781         return self._makedirstate()
   782 
   782 
   783     def _makedirstate(self):
   783     def _makedirstate(self):
       
   784         """Extension point for wrapping the dirstate per-repo."""
   784         sparsematchfn = lambda: sparse.matcher(self)
   785         sparsematchfn = lambda: sparse.matcher(self)
   785 
   786 
   786         return dirstate.dirstate(self.vfs, self.ui, self.root,
   787         return dirstate.dirstate(self.vfs, self.ui, self.root,
   787                                  self._dirstatevalidate, sparsematchfn)
   788                                  self._dirstatevalidate, sparsematchfn)
   788 
   789