changeset 38132:2b8cb0ab231c

localrepo: add docstring to _makedirstate to make it less likely to be removed Differential Revision: https://phab.mercurial-scm.org/D3643
author Kyle Lippincott <spectral@google.com>
date Tue, 22 May 2018 11:20:55 -0700
parents 46c2b19a1263
children dce718404ce6
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,