##// END OF EJS Templates
color: don't crash on invalid status codes (issue2036)...
color: don't crash on invalid status codes (issue2036) If an unknown file with a newline appears in the status output, color shouldn't raise a KeyError trying to parse second line in the filename.

File last commit:

r10475:2253715f default
r10475:2253715f default
Show More
test-eolfilename.out
20 lines | 403 B | text/plain | TextLexer
/ tests / test-eolfilename.out
% test issue352
adding he llo
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
adding he llo
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
adding hell
o
abort: '\n' and '\r' disallowed in filenames: 'hell\no'
adding hell
o
abort: '\n' and '\r' disallowed in filenames: 'hell\no'
f he llo he llo
f hell
o hell
o
% test issue2039
? foo
bar
? foo
bar.baz