--- a/mercurial/cffi/bdiff.py Tue Nov 08 13:38:06 2022 -0500
+++ b/mercurial/cffi/bdiff.py Tue Nov 08 13:52:46 2022 -0500
@@ -29,7 +29,7 @@
count = lib.bdiff_diff(a[0], an, b[0], bn, l)
if count < 0:
raise MemoryError
- rl = [None] * count
+ rl = [(0, 0, 0, 0)] * count
h = l.next
i = 0
while h: