Mercurial > public > mercurial-scm > hg
changeset 52472:0d4ead4d88bd
interfaces: convert `repository.ifileindex` from zope `Attribute` attrs
This is the same transformation as b455dfddfed0 did for dirstate.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 22 Oct 2024 22:25:18 -0400 |
parents | 4a332b233194 |
children | a1dd484bf33b |
files | mercurial/interfaces/repository.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py Thu Oct 24 19:22:56 2024 -0400 +++ b/mercurial/interfaces/repository.py Tue Oct 22 22:25:18 2024 -0400 @@ -591,9 +591,8 @@ * Metadata to facilitate storage. """ - nullid = interfaceutil.Attribute( - """node for the null revision for use as delta base.""" - ) + nullid: bytes + """node for the null revision for use as delta base.""" def __len__(self): """Obtain the number of revisions stored for this file."""