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

login
register
mail settings
Submitter phabricator
Date May 23, 2018, 12:34 p.m.
Message ID <01c3ea6a741ab1a2614856be4bd1fadf@localhost.localdomain>
Download mbox | patch
Permalink /patch/31822/
State Not Applicable
Headers show

Comments

phabricator - May 23, 2018, 12:34 p.m.
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




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

Patch

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,