Show More
@@ -77,7 +77,7 b' except ImportError:' | |||
|
77 | 77 | _defaultstyles = { |
|
78 | 78 | 'grep.match': 'red bold', |
|
79 | 79 | 'grep.linenumber': 'green', |
|
80 |
'grep.rev': ' |
|
|
80 | 'grep.rev': 'blue', | |
|
81 | 81 | 'grep.sep': 'cyan', |
|
82 | 82 | 'grep.filename': 'magenta', |
|
83 | 83 | 'grep.user': 'magenta', |
@@ -50,9 +50,9 b' simple with color' | |||
|
50 | 50 | |
|
51 | 51 | $ hg --config extensions.color= grep --config color.mode=ansi \ |
|
52 | 52 | > --color=always port port -r tip:0 |
|
53 |
\x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;3 |
|
|
54 |
\x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;3 |
|
|
55 |
\x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;3 |
|
|
53 | \x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;34m4\x1b[0m\x1b[0;36m:\x1b[0mex\x1b[0;31;1mport\x1b[0m (esc) | |
|
54 | \x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;34m4\x1b[0m\x1b[0;36m:\x1b[0mva\x1b[0;31;1mport\x1b[0might (esc) | |
|
55 | \x1b[0;35mport\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;34m4\x1b[0m\x1b[0;36m:\x1b[0mim\x1b[0;31;1mport\x1b[0m/ex\x1b[0;31;1mport\x1b[0m (esc) | |
|
56 | 56 | |
|
57 | 57 | simple templated |
|
58 | 58 | |
@@ -305,9 +305,9 b' Test wdir' | |||
|
305 | 305 | [grep.filename|color][grep.sep|:][grep.rev|1][grep.sep|:][grep.inserted grep.change|+][grep.sep|:][grep.match|orange] |
|
306 | 306 | |
|
307 | 307 | $ hg grep --diff orange --color=yes |
|
308 |
\x1b[0;35mcolor\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;3 |
|
|
309 |
\x1b[0;35mcolor\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;3 |
|
|
310 |
\x1b[0;35mcolor\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;3 |
|
|
308 | \x1b[0;35mcolor\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;34m3\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;32;1m+\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;31;1morange\x1b[0m (esc) | |
|
309 | \x1b[0;35mcolor\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;34m2\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;31;1m-\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;31;1morange\x1b[0m (esc) | |
|
310 | \x1b[0;35mcolor\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;34m1\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;32;1m+\x1b[0m\x1b[0;36m:\x1b[0m\x1b[0;31;1morange\x1b[0m (esc) | |
|
311 | 311 | |
|
312 | 312 | $ hg grep --diff orange |
|
313 | 313 | color:3:+:orange |
General Comments 0
You need to be logged in to leave comments.
Login now