mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
459206adee
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.
403 B
403 B
% test issue352
lloing he
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
lloing he
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'
llo he
f hell
o hell
o
% test issue2039
? foo
bar
? foo
bar.baz
lloing he
abort: '\n' and '\r' disallowed in filenames: 'he\rllo'
lloing he
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'
llo he
f hell
o hell
o
% test issue2039
? foo
bar
? foo
bar.baz