# HG changeset patch # User Kyle Lippincott # Date 1527013255 25200 # Node ID 2b8cb0ab231cbb6077d821404c65c0799e95fda4 # Parent 46c2b19a1263f18a5829a21b7a5053019b0c5a31 localrepo: add docstring to _makedirstate to make it less likely to be removed Differential Revision: https://phab.mercurial-scm.org/D3643 diff -r 46c2b19a1263 -r 2b8cb0ab231c 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,