diff -r 39e2b2d062c1 -r 493034cc3265 mercurial/changegroup.py --- a/mercurial/changegroup.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/changegroup.py Thu Jul 18 12:36:12 2024 +0200 @@ -407,7 +407,7 @@ yield chunkheader(len(chunk)) pos = 0 while pos < len(chunk): - next = pos + 2 ** 20 + next = pos + 2**20 yield chunk[pos:next] pos = next yield closechunk()