Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commandserver.py @ 44407:f5c006621f07
merge with stable
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 24 Feb 2020 13:50:55 -0500 |
parents | 6392bd7c26a8 98c14f0108b8 |
children | d6e99a446eea |
line wrap: on
line diff
--- a/mercurial/commandserver.py Thu Feb 13 22:51:17 2020 -0500 +++ b/mercurial/commandserver.py Mon Feb 24 13:50:55 2020 -0500 @@ -160,7 +160,7 @@ buf = s # keep asking for more until there's either no more or # we got a full line - while s and s[-1] != b'\n': + while s and not s.endswith(b'\n'): s = self._read(size, b'L') buf += s