equal
deleted
inserted
replaced
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 |