frej/fast-export — pull request #5 by living180 (2012-05-28 18:13:20+00:00)
Title: Make hg-fast-export work on Windows

This is a simple patch that makes hg-fast-export work on Windows, but doesn't use any fancy Windows-specific code. The only changes are:

* instead of print, use sys.stdout.write with explicit end-of-line characters to avoid line-terminator issues
* instead of hard-coding /dev/null, use os.devnull

I have successfully used hg-fast-export on Windows with these changes to create a git mirror of the Python Mercurial repository.

This change should also allow issue #3 to be closed.