changeset 52644 | e627cc25b6f3 |
parent 52640 | 24ee91ba9aa8 |
child 52727 | 48572371d478 |
--- a/mercurial/wireprotov1server.py Sun Jan 05 22:23:31 2025 -0500 +++ b/mercurial/wireprotov1server.py Sun Jan 05 22:26:16 2025 -0500 @@ -292,8 +292,7 @@ with vfs(bundle_path) as f: length = os.fstat(f.fileno())[6] yield util.uvarintencode(length) - for chunk in util.filechunkiter(f): - yield chunk + yield from util.filechunkiter(f) stream = generator(repo.vfs, clonebundlepath) return wireprototypes.streamres(gen=stream, prefer_uncompressed=True)