[Python-checkins] hooks: Always use two-digit color numbers to avoid munging part of the message.

georg.brandl python-checkins at python.org
Fri Sep 28 14:24:02 CEST 2012


http://hg.python.org/hooks/rev/dadd9884bf14
changeset:   86:dadd9884bf14
user:        Georg Brandl <georg at python.org>
date:        Fri Sep 28 14:23:56 2012 +0200
summary:
  Always use two-digit color numbers to avoid munging part of the message.

files:
  hgirker.py |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/hgirker.py b/hgirker.py
--- a/hgirker.py
+++ b/hgirker.py
@@ -19,10 +19,10 @@
 def getenv(ui, repo):
     env = {
         'bold': '\x02',
-        'green': '\x033',
-        'blue': '\x032',
-        'yellow': '\x037',
-        'brown': '\x035',
+        'green': '\x0303',
+        'blue': '\x0302',
+        'yellow': '\x0307',
+        'brown': '\x0305',
         'gray': '\x0314',
         'reset': '\x0F'
     }

-- 
Repository URL: http://hg.python.org/hooks


More information about the Python-checkins mailing list