--- a/mercurial/ui.py Sat Feb 25 15:00:51 2017 +0100
+++ b/mercurial/ui.py Sun Nov 06 20:10:53 2016 +0100
@@ -805,7 +805,7 @@
elif self._colormode == 'win32':
# windows color printing is its own can of crab, defer to
# the color module and that is it.
- color.win32print(self._write, *args, **opts)
+ color.win32print(self, self._write, *args, **opts)
else:
msgs = args
if self._colormode is not None:
@@ -831,7 +831,7 @@
elif self._colormode == 'win32':
# windows color printing is its own can of crab, defer to
# the color module and that is it.
- color.win32print(self._write_err, *args, **opts)
+ color.win32print(self, self._write_err, *args, **opts)
else:
msgs = args
if self._colormode is not None: