# HG changeset patch # User Matt Harbison # Date 2024-10-24 23:22:56 # Node ID 4a332b23319495a493a0a0f6e4484c5f9266365a # Parent 43d2a2f664343a231dba62754c83287b23814899 tests: synchronize `simplestorerevisiondelta` with modern `irevisiondelta` I noticed these fields had been missing when I pasted the body of `revlog.revlogrevisiondelta` here to pick up the correct type hints in the previous commit. Not sure how this got out of sync, and there's probably not a way to enforce this with Protocol either, unless the base class uses `@abstractproperty` or something (which introduced its own trickiness for the subclasses IIRC). diff --git a/tests/simplestorerepo.py b/tests/simplestorerepo.py --- a/tests/simplestorerepo.py +++ b/tests/simplestorerepo.py @@ -82,6 +82,8 @@ class simplestorerevisiondelta(repositor baserevisionsize = attr.ib(type=Optional[int]) revision = attr.ib(type=Optional[bytes]) delta = attr.ib(type=Optional[bytes]) + sidedata = attr.ib(type=Optional[bytes]) + protocol_flags = attr.ib(type=int) linknode = attr.ib(default=None, type=Optional[bytes])