manifest: use tuple for `delta` in `fastdelta`
This make the list content consistent and will help type annotation.
--- a/mercurial/manifest.py Mon Aug 05 09:22:18 2024 +0200
+++ b/mercurial/manifest.py Mon Aug 05 10:10:03 2024 +0200
@@ -692,13 +692,13 @@
dline.append(l)
else:
if dstart is not None:
- delta.append([dstart, dend, b"".join(dline)])
+ delta.append((dstart, dend, b"".join(dline)))
dstart = start
dend = end
dline = [l]
if dstart is not None:
- delta.append([dstart, dend, b"".join(dline)])
+ delta.append((dstart, dend, b"".join(dline)))
# apply the delta to the base, and get a delta for addrevision
deltatext, arraytext = _addlistdelta(base, delta)
else: