hgext/color.py
branchstable
changeset 24848 2f88821856eb
parent 24535 1818d4dca75c
child 25186 80c5b2666a96
--- a/hgext/color.py	Thu Apr 23 14:20:36 2015 +0100
+++ b/hgext/color.py	Thu Apr 23 14:57:39 2015 +0100
@@ -445,7 +445,7 @@
             return super(colorui, self).write_err(*args, **opts)
 
         label = opts.get('label', '')
-        if self._bufferstates and self._bufferstates[-1]:
+        if self._bufferstates and self._bufferstates[-1][0]:
             return self.write(*args, **opts)
         if self._colormode == 'win32':
             for a in args: