testament in binary

Bug #1010339 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
In Progress
Low
John A Meinel

Bug Description

'bzr testament' currently writes directly to stdout rather than using self.outf. That got around needing to use encoding_type = 'exact' to avoid getting double-encoding errors. However, it also doesn't set O_BINARY on sys.stdout which means that on windows it mangles LF to CRLF.

Basically, we should have the property that:
 bzr testament --long | sha1sum
matches
 bzr testament

It is a fairly straightforward fix.

Related branches

John A Meinel (jameinel)
Changed in bzr:
assignee: nobody → John A Meinel (jameinel)
importance: Undecided → Low
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.