Submitter | Matt Harbison |
---|---|
Date | April 8, 2015, 3:30 a.m. |
Message ID | <2a9f7b16b25b84bf814b.1428463842@Envy> |
Download | mbox | patch |
Permalink | /patch/8559/ |
State | Accepted |
Headers | show |
Comments
On Tue, 2015-04-07 at 23:30 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison <matt_harbison@yahoo.com> > # Date 1428460296 14400 > # Tue Apr 07 22:31:36 2015 -0400 > # Node ID 2a9f7b16b25b84bf814b953e26e3d4142c4b7722 > # Parent baeeb5f4bd5980f8722221156bbee3c3329c448b > windows: allow readpipe() to actually read data out of the pipe These are queued for default, thanks (with nit fixed).
Patch
diff --git a/mercurial/windows.py b/mercurial/windows.py --- a/mercurial/windows.py +++ b/mercurial/windows.py @@ -363,7 +363,7 @@ """Read all available data from a pipe.""" chunks = [] while True: - size = os.fstat(pipe.fileno()).st_size + size = win32.peekpipe(pipe) if not size: break