[PATCH 1 of 1] Replacing select.select() with os.fstat() which works also on windows

Matt Mackall mpm at selenic.com
Tue Sep 27 17:26:34 CDT 2005


On Tue, Sep 27, 2005 at 09:05:38PM +0200, Zbynek Winkler wrote:
> # HG changeset patch
> # User zbynek at alex.kolej.mff.cuni.cz
> # Node ID 838c97b17a4162fb508452ec08a32bb0e0078d5c
> # Parent  0e2be889ccd7eaf0c5c1f08b486e02be3ec7358f
> Replacing select.select() with os.fstat() which works also on windows.

I like this. It passes my hand run tests and the test suite except:

> -            for l in self.pipee:
> -                self.ui.status("remote: ", l)
> +            readerr()

This is intentionally blocking so that we read until the other end
closes the pipe.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list