Mercurial > public > mercurial-scm > hg
diff tests/test-grep.t @ 17806:dc7010ed0101
grep: colorize all fields
Colors were picked in accordance to GNU grep.
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sun, 14 Oct 2012 20:27:55 +0200 |
parents | 21c93988ca70 |
children | 1e6b5faf9d4e |
line wrap: on
line diff
--- a/tests/test-grep.t Sun Oct 14 20:40:23 2012 +0200 +++ b/tests/test-grep.t Sun Oct 14 20:27:55 2012 +0200 @@ -32,9 +32,9 @@ $ hg --config extensions.color= grep --config color.mode=ansi \ > --color=always port port - port:4:ex\x1b[0;31;1mport\x1b[0m (esc) - port:4:va\x1b[0;31;1mport\x1b[0might (esc) - port:4:im\x1b[0;31;1mport\x1b[0m/export (esc) + \x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;32m4\x1b[0m\x1b[0;36m:\x1b[0mex\x1b[0;31;1mport\x1b[0m (esc) + \x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;32m4\x1b[0m\x1b[0;36m:\x1b[0mva\x1b[0;31;1mport\x1b[0might (esc) + \x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;32m4\x1b[0m\x1b[0;36m:\x1b[0mim\x1b[0;31;1mport\x1b[0m/export (esc) all