Submitter | Pierre-Yves David |
---|---|
Date | June 27, 2015, 1:59 a.m. |
Message ID | <995f1afb89fac10d4759.1435370379@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/9796/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -325,11 +325,10 @@ class bufferedinputpipe(object): """read data to the buffer""" data = os.read(self._input.fileno(), _chunksize) if not data: self._eof = True else: - # inefficient add self._buffer.append(data) def popen2(cmd, env=None, newlines=False): # Setting bufsize to -1 lets the system decide the buffer size. # The default for bufsize is 0, meaning unbuffered. This leads to