localrepo: add docstring to _makedirstate to make it less likely to be removed
authorKyle Lippincott <spectral@google.com>
Tue, 22 May 2018 11:20:55 -0700
changeset 38165 2b8cb0ab231c
parent 38164 46c2b19a1263
child 38166 dce718404ce6
localrepo: add docstring to _makedirstate to make it less likely to be removed Differential Revision: https://phab.mercurial-scm.org/D3643
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Tue May 15 14:35:41 2018 +0200
+++ b/mercurial/localrepo.py	Tue May 22 11:20:55 2018 -0700
@@ -781,6 +781,7 @@
         return self._makedirstate()
 
     def _makedirstate(self):
+        """Extension point for wrapping the dirstate per-repo."""
         sparsematchfn = lambda: sparse.matcher(self)
 
         return dirstate.dirstate(self.vfs, self.ui, self.root,