Mercurial > public > mercurial-scm > hg-stable
diff mercurial/interfaces/repository.py @ 52501: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 | 2aada52e80d6 |
children | a1dd484bf33b |
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."""