Mercurial > hg
changeset 39240:2af6b2d8d1d8
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 10 Aug 2018 13:59:27 -0700 |
parents | 0617a700ef7b |
children | aad4b46e89bb |
files | mercurial/repository.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.