ui: remove last vestiges of header buffering
authorMatt Mackall <mpm@selenic.com>
Wed, 15 Nov 2006 15:51:58 -0600
changeset 3646 069f3acdad6c
parent 3645 b984dcb1df71
child 3647 734e337cb816
ui: remove last vestiges of header buffering
mercurial/ui.py
--- a/mercurial/ui.py	Mon Nov 13 13:26:57 2006 -0600
+++ b/mercurial/ui.py	Wed Nov 15 15:51:58 2006 -0600
@@ -29,8 +29,6 @@
                  interactive=True, traceback=False, report_untrusted=True,
                  parentui=None):
         self.overlay = None
-        self.header = []
-        self.prev_header = []
         if parentui is None:
             # this is the parent of all ui children
             self.parentui = None
@@ -362,11 +360,6 @@
         return path or loc
 
     def write(self, *args):
-        if self.header:
-            if self.header != self.prev_header:
-                self.prev_header = self.header
-                self.write(*self.header)
-            self.header = []
         for a in args:
             sys.stdout.write(str(a))