bzr-fastimport on Windows

Ian Clatworthy ian.clatworthy at internode.on.net
Mon Mar 10 01:07:36 GMT 2008


Paul Moore wrote:

> I think all you need to do is to add
> 
>    msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
> 
> at the top of the module. Wrap it round an "try: import msvcrt ...
> except ImportError" block, so that it still works on non-Windows
> platforms and you're away.
> 
> I've not tested this, so I could be completely wrong, of course...

This fix, together with a bunch of others, is now included in rev 56 of
bzr-fastexport. Thanks to Paul for the suggestion and James Westby for
the changes.

Ian C.



More information about the bazaar mailing list