Submitter | phabricator |
---|---|
Date | Aug. 2, 2020, 3:41 p.m. |
Message ID | <differential-rev-PHID-DREV-n5vlhmuxndz4oxhqrgng-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/46957/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/keepalive.py b/mercurial/keepalive.py --- a/mercurial/keepalive.py +++ b/mercurial/keepalive.py @@ -542,7 +542,11 @@ return line # No newline in local buffer. Read until we find one. - chunks = [self._rbuf] + # readinto read via readinto will already return _rbuf + if self._raw_readinto is None: + chunks = [self._rbuf] + else: + chunks = [] i = -1 readsize = self._rbufsize while True: