diff -r 39e2b2d062c1 -r 493034cc3265 mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/bundlerepo.py Thu Jul 18 12:36:12 2024 +0200 @@ -408,7 +408,7 @@ with os.fdopen(fdtemp, 'wb') as fptemp: fptemp.write(header) while True: - chunk = readfn(2 ** 18) + chunk = readfn(2**18) if not chunk: break fptemp.write(chunk)