Windows: using hg executable from an IDE results in python errors

Patrick Mézard pmezard at
Thu Mar 20 15:59:58 CDT 2008

Alexander Belchenko a écrit :
> I'm not Patrick but you need to test is fd hasattr fileno. When program running as
> subprocess then pipes fd never had fileno. Because they're not real files.

Testing for fileno() availability cannot harm but I am not sure it will solved the issue here since we get a bad file descriptor issue rather than a missing attribute. I don't know how to check fileno() is valid, maybe it should be positive ? Do you know an easy way to test these kind of setup ?

Patrick Mézard

More information about the Mercurial mailing list