changeset 52644 | e627cc25b6f3 |
parent 52643 | 5cc8deb96b48 |
child 52679 | 30510238284e |
--- a/mercurial/util.py Sun Jan 05 22:23:31 2025 -0500 +++ b/mercurial/util.py Sun Jan 05 22:26:16 2025 -0500 @@ -3024,8 +3024,7 @@ def iterlines(iterator: Iterable[bytes]) -> Iterator[bytes]: for chunk in iterator: - for line in chunk.splitlines(): - yield line + yield from chunk.splitlines() def expandpath(path: bytes) -> bytes: