# HG changeset patch # User Yuya Nishihara # Date 2018-04-19 10:46:24 # Node ID 1770d8b3e554285ac68d15c39aec0ef8550d74aa # Parent 8fa3396a832d98bf6d20b054f1e765c307bee9fb 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. diff --git a/mercurial/color.py b/mercurial/color.py --- a/mercurial/color.py +++ b/mercurial/color.py @@ -90,16 +90,16 @@ except ImportError: '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': '',