Patchwork D10313: store: document the `walk` method

login
register
mail settings
Submitter phabricator
Date April 6, 2021, 8:39 a.m.
Message ID <differential-rev-PHID-DREV-mvfzhb6fnnznrpckmjx4-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48630/
State Superseded
Headers show

Comments

phabricator - April 6, 2021, 8:39 a.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/store.py

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/store.py b/mercurial/store.py
--- a/mercurial/store.py
+++ b/mercurial/store.py
@@ -452,7 +452,9 @@ 
         return reversed(self._walk(b'', False))
 
     def walk(self, matcher=None):
-        """yields (unencoded, encoded, size)
+        """return file related to data storage (ie: revlogs)
+
+        yields (unencoded, encoded, size)
 
         if a matcher is passed, storage files of only those tracked paths
         are passed with matches the matcher