mercurial/localrepo.py
changeset 38128 1cba497491be
parent 37848 6e2259847f5f
child 38132 2b8cb0ab231c
--- a/mercurial/localrepo.py	Tue May 22 00:25:18 2018 +0530
+++ b/mercurial/localrepo.py	Wed May 16 14:59:32 2018 -0700
@@ -778,6 +778,9 @@
 
     @repofilecache('dirstate')
     def dirstate(self):
+        return self._makedirstate()
+
+    def _makedirstate(self):
         sparsematchfn = lambda: sparse.matcher(self)
 
         return dirstate.dirstate(self.vfs, self.ui, self.root,