comparison tests/test-bookmarks.t @ 22775:b59c2c8c45df

bookmarks: split ui.write() so that it can be easily ported to formatter api Test output changes because color labels are applied separately.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 03 Oct 2014 00:36:36 +0900
parents 3efe3c2609e0
children 564ae7d2ec9b
comparison
equal deleted inserted replaced
22774:b17fd992d606 22775:b59c2c8c45df
16 16
17 list bookmarks with color 17 list bookmarks with color
18 18
19 $ hg --config extensions.color= --config color.mode=ansi \ 19 $ hg --config extensions.color= --config color.mode=ansi \
20 > bookmarks --color=always 20 > bookmarks --color=always
21 \x1b[0;32m * X -1:000000000000\x1b[0m (esc) 21 \x1b[0;32m * \x1b[0m\x1b[0;32mX\x1b[0m\x1b[0;32m -1:000000000000\x1b[0m (esc)
22 22
23 $ echo a > a 23 $ echo a > a
24 $ hg add a 24 $ hg add a
25 $ hg commit -m 0 25 $ hg commit -m 0
26 26