--- a/mercurial/wireprotoframing.py Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/wireprotoframing.py Tue Jul 23 10:02:46 2024 +0200
@@ -546,7 +546,7 @@
"""
atomdicts = []
- for formatting, args, labels in atoms:
+ for (formatting, args, labels) in atoms:
# TODO look for localstr, other types here?
if not isinstance(formatting, bytes):
@@ -1198,6 +1198,7 @@
b'%s' % stringutil.forcebytestr(e),
errtype=b'server',
):
+
yield frame
break
@@ -1258,6 +1259,7 @@
for chunk in cborutil.streamencodebytestringfromiter(
o.chunks
):
+
for frame in emitter.send(chunk):
yield frame