diff mercurial/color.py @ 38809:afc4ad706f9c

dispatch: making all hg abortions be output with a specific label This allows abortions to be highlighted specially and separately from warnings - for instance, red is a reasonable color for when hg aborts, but is overly dramatic for most warnings produced elsewhere. Differential Revision: https://phab.mercurial-scm.org/D3967
author Rodrigo Damazio Bovendorp <rdamazio@google.com>
date Thu, 19 Jul 2018 23:22:05 -0700
parents 1770d8b3e554
children ddc1da134772
line wrap: on
line diff
--- a/mercurial/color.py	Thu Jul 19 15:21:28 2018 -0400
+++ b/mercurial/color.py	Thu Jul 19 23:22:05 2018 -0700
@@ -117,6 +117,7 @@
     'formatvariant.config.default': 'green',
     'formatvariant.default': '',
     'histedit.remaining': 'red bold',
+    'ui.error': 'red',
     'ui.prompt': 'yellow',
     'log.changeset': 'yellow',
     'patchbomb.finalsummary': '',