changeset 27259:290b41913d9f

color: drop useless override of ui.popbuffer() Because labels are applied at write() time since 717b75ae5bb0, colorui.popbuffer() is useless and it doesn't update _bufferapplylabels correctly. Removing it should fix the problem.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 05 Dec 2015 23:41:11 +0900
parents beda2c9dbbff
children d755a9531fce
files hgext/color.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/color.py	Fri Dec 04 14:22:15 2015 -0800
+++ b/hgext/color.py	Sat Dec 05 23:41:11 2015 +0900
@@ -419,13 +419,6 @@
             _styles[status] = ' '.join(good)
 
 class colorui(uimod.ui):
-    def popbuffer(self):
-        if self._colormode is None:
-            return super(colorui, self).popbuffer()
-
-        self._bufferstates.pop()
-        return ''.join(self._buffers.pop())
-
     _colormode = 'ansi'
     def write(self, *args, **opts):
         if self._colormode is None: