D3643: localrepo: add docstring to _makedirstate to make it less likely to be removed

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Wed May 23 08:34:33 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2b8cb0ab231c: localrepo: add docstring to _makedirstate to make it less likely to be removed (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3643?vs=8872&id=8878

REVISION DETAIL
  https://phab.mercurial-scm.org/D3643

AFFECTED FILES
  mercurial/localrepo.py

CHANGE DETAILS

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -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,



To: spectral, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list