changeset 51823 | ace0da86edd0 |
parent 50926 | 18c8c18993f0 |
child 51825 | c1ed5ee2ad82 |
--- a/mercurial/keepalive.py Wed Aug 21 22:15:05 2024 -0400 +++ b/mercurial/keepalive.py Fri Jun 28 16:26:06 2024 +0200 @@ -573,19 +573,6 @@ chunks[-1] = chunks[-1][:i] return b''.join(chunks) - def readlines(self, sizehint=0): - total = 0 - list = [] - while True: - line = self.readline() - if not line: - break - list.append(line) - total += len(line) - if sizehint and total >= sizehint: - break - return list - def readinto(self, dest): if self._raw_readinto is None: res = self.read(len(dest))