# HG changeset patch # User Gregory Szorc # Date 1533934767 25200 # Node ID 2af6b2d8d1d823fb57b1d6363aae7858d9d17c98 # Parent 0617a700ef7bd0a59cd38bc876359b6ecaaaed77 repository: clarify role of imanifestlog Looking at the implementation of manifest.manifestlog, it is highly tailored towards servicing the root manifest. So clarify that in the interface docstring. Differential Revision: https://phab.mercurial-scm.org/D4273 diff -r 0617a700ef7b -r 2af6b2d8d1d8 mercurial/repository.py --- a/mercurial/repository.py Fri Aug 10 13:43:26 2018 -0700 +++ b/mercurial/repository.py Fri Aug 10 13:59:27 2018 -0700 @@ -989,7 +989,13 @@ """ class imanifestlog(interfaceutil.Interface): - """Interface representing a collection of manifest snapshots.""" + """Interface representing a collection of manifest snapshots. + + Represents the root manifest in a repository. + + Also serves as a means to access nested tree manifests and to cache + tree manifests. + """ def __getitem__(node): """Obtain a manifest instance for a given binary node.