comparison tests/test-eolfilename.t @ 17910:c8709ff57ff2

status: use condwrite to avoid zero-width format string hack
author Matt Mackall <mpm@selenic.com>
date Tue, 06 Nov 2012 17:30:47 -0600
parents 405b6bd015df
children 7a9cbb315d84
comparison
equal deleted inserted replaced
17909:3326fd05eb1f 17910:c8709ff57ff2
66 $ A=`printf 'foo\nbar'` 66 $ A=`printf 'foo\nbar'`
67 $ B=`printf 'foo\nbar.baz'` 67 $ B=`printf 'foo\nbar.baz'`
68 $ touch "$A" 68 $ touch "$A"
69 $ touch "$B" 69 $ touch "$B"
70 $ hg status --color=always 70 $ hg status --color=always
71 \x1b[0;35;1;4m? foo\x1b[0m (esc) 71 \x1b[0;35;1;4m? \x1b[0m\x1b[0;35;1;4mfoo\x1b[0m (esc)
72 \x1b[0;35;1;4mbar\x1b[0m (esc) 72 \x1b[0;35;1;4mbar\x1b[0m (esc)
73 \x1b[0;35;1;4m? foo\x1b[0m (esc) 73 \x1b[0;35;1;4m? \x1b[0m\x1b[0;35;1;4mfoo\x1b[0m (esc)
74 \x1b[0;35;1;4mbar.baz\x1b[0m (esc) 74 \x1b[0;35;1;4mbar.baz\x1b[0m (esc)
75 75
76 $ cd .. 76 $ cd ..