diff: restore original color scheme for worddiff stable
authorYuya Nishihara <yuya@tcha.org>
Thu, 19 Apr 2018 19:46:24 +0900
branchstable
changeset 37799 1770d8b3e554
parent 37798 8fa3396a832d
child 37800 6cf5f5b4eb57
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.
mercurial/color.py
--- 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': '',