mercurial/localrepo.py
changeset 38128 1cba497491be
parent 37848 6e2259847f5f
child 38132 2b8cb0ab231c
equal deleted inserted replaced
38127:b7e5c53a779e 38128:1cba497491be
   776     def manifestlog(self):
   776     def manifestlog(self):
   777         return manifest.manifestlog(self.svfs, self)
   777         return manifest.manifestlog(self.svfs, self)
   778 
   778 
   779     @repofilecache('dirstate')
   779     @repofilecache('dirstate')
   780     def dirstate(self):
   780     def dirstate(self):
       
   781         return self._makedirstate()
       
   782 
       
   783     def _makedirstate(self):
   781         sparsematchfn = lambda: sparse.matcher(self)
   784         sparsematchfn = lambda: sparse.matcher(self)
   782 
   785 
   783         return dirstate.dirstate(self.vfs, self.ui, self.root,
   786         return dirstate.dirstate(self.vfs, self.ui, self.root,
   784                                  self._dirstatevalidate, sparsematchfn)
   787                                  self._dirstatevalidate, sparsematchfn)
   785 
   788