diff tests/simplestorerepo.py @ 52471:4a332b233194

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).
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 24 Oct 2024 19:22:56 -0400
parents 43d2a2f66434
children 3daaa5195a30
line wrap: on
line diff
--- a/tests/simplestorerepo.py	Tue Oct 22 18:45:09 2024 -0400
+++ b/tests/simplestorerepo.py	Thu Oct 24 19:22:56 2024 -0400
@@ -82,6 +82,8 @@
     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])