# HG changeset patch # User Pierre-Yves David # Date 2021-04-06 08:37:47 # Node ID eed3e2b79b48aa8a1cb2f0656c72126d715346b2 # Parent fbfb1d6d8459a06d0394872f65f5ceee9f180d47 store: document the `walk` method Differential Revision: https://phab.mercurial-scm.org/D10313 diff --git a/mercurial/store.py b/mercurial/store.py --- a/mercurial/store.py +++ b/mercurial/store.py @@ -452,7 +452,9 @@ class basicstore(object): 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