Comment 4 for bug 55276

Revision history for this message
Henry Ludemann (misc-hl) wrote :

The way I did this to test 'bundle' was to add

fileobj = sys.stdout
# On Windows switch to binary output (we don't want new line
# conversion on the output stream)
if sys.platform == "win32":
    import os, msvcrt
    msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)

This allowed
   bzr bundle >changes.bundle
...go to another branch...
   bzr merge ..\changes.bundle
which previously failed with
   bzr: ERROR: End of line marker was not \n in bzr revision-bundle