diff hgext/color.py @ 23173:122f5c3f3308

patchbomb: add label and color to the confirm output The current output is mostly a wall of text. This makes it hard to actually check something for people with lazy eyes. We use labels and colors to make it more joyful (and get the patch summaries to stand out). The colors have been arbitrarily choosen. They can be changed later if someone has a more scientific choice.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 04 Nov 2014 13:38:33 +0000
parents b186b3ef4b54
children a857755144dc
line wrap: on
line diff
--- a/hgext/color.py	Tue Nov 04 23:41:46 2014 +0900
+++ b/hgext/color.py	Tue Nov 04 13:38:33 2014 +0000
@@ -301,6 +301,11 @@
            'histedit.remaining': 'red bold',
            'ui.prompt': 'yellow',
            'log.changeset': 'yellow',
+           'patchbomb.finalsummary': '',
+           'patchbomb.from': 'magenta',
+           'patchbomb.to': 'cyan',
+           'patchbomb.subject': 'green',
+           'patchbomb.diffstats': '',
            'rebase.rebased': 'blue',
            'rebase.remaining': 'red bold',
            'resolve.resolved': 'green bold',