diff tests/test-eolfilename.out @ 10475:2253715fde97

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.
author Brodie Rao <me+hg@dackz.net>
date Sun, 14 Feb 2010 17:08:52 -0500
parents tests/test-issue352.out@09847b90beae
children 717c35d55fb3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-eolfilename.out	Sun Feb 14 17:08:52 2010 -0500
@@ -0,0 +1,20 @@
+% 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