Mercurial > hg-stable
diff mercurial/color.py @ 41750:a91615b71679
color: change color of grep.rev label (BC)
GNU grep uses green for line numbers as we do, but I sometimes get a
bit confused when I do `hg grep --diff -n` and get both line numbers
and revisions and don't know which one is which.
A different colour can help.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 15 Feb 2019 15:49:17 -0500 |
parents | ee77a6dd8fb8 |
children | 2372284d9457 |
line wrap: on
line diff
--- a/mercurial/color.py Fri Feb 15 15:43:22 2019 -0500 +++ b/mercurial/color.py Fri Feb 15 15:49:17 2019 -0500 @@ -77,7 +77,7 @@ _defaultstyles = { 'grep.match': 'red bold', 'grep.linenumber': 'green', - 'grep.rev': 'green', + 'grep.rev': 'blue', 'grep.sep': 'cyan', 'grep.filename': 'magenta', 'grep.user': 'magenta',