Mercurial > hg-stable
changeset 37799:1770d8b3e554 stable
diff: restore original color scheme for worddiff
I'm not young. "red dim" is nearly invisible, and "red" vs "red dim" is
too subtle to see difference. And, "underline" is necessary to highlight
whitespace changes.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 19 Apr 2018 19:46:24 +0900 |
parents | 8fa3396a832d |
children | 6cf5f5b4eb57 |
files | mercurial/color.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/color.py Thu Apr 19 22:12:10 2018 +0900 +++ b/mercurial/color.py Thu Apr 19 19:46:24 2018 +0900 @@ -90,16 +90,16 @@ 'branches.inactive': 'none', 'diff.changed': 'white', 'diff.deleted': 'red', - 'diff.deleted.changed': 'red', - 'diff.deleted.unchanged': 'red dim', + 'diff.deleted.changed': 'red bold underline', + 'diff.deleted.unchanged': 'red', 'diff.diffline': 'bold', 'diff.extended': 'cyan bold', 'diff.file_a': 'red bold', 'diff.file_b': 'green bold', 'diff.hunk': 'magenta', 'diff.inserted': 'green', - 'diff.inserted.changed': 'green', - 'diff.inserted.unchanged': 'green dim', + 'diff.inserted.changed': 'green bold underline', + 'diff.inserted.unchanged': 'green', 'diff.tab': '', 'diff.trailingwhitespace': 'bold red_background', 'changeset.public': '',