b'\\ No newline at end of file' showing in diff

Bug #1943500 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead
New
Undecided
Unassigned

Bug Description

Hi,

Seeing b'\\ No newline at end of file' showing in a bzr diff. See attached screenshot.

Revision history for this message
Haw Loeung (hloeung) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Possibly the else clause in `_process_diff`?

            chunk.diff.append(util.Container(
                old_lineno=None,
                new_lineno=None,
                type='unknown',
                line=repr(line)))

r494 added several `decode_line` calls to other branches of this condition; maybe we need something similar here.

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.