[PATCH] color.py: clear _terminfo_params in win32 mode

Andrei Vermel andrei.vermel at gmail.com
Fri Jul 29 06:48:04 CDT 2011


# HG changeset patch
# Date 1311939387 -14400
# User Andrei Vermel <avermel at mail.ru>
# Parent b26bc60b536646a7c83934fab88749641faed230
color.py: clear _terminfo_params in win32 mode

diff --git a/hgext/color.py b/hgext/color.py
--- a/hgext/color.py
+++ b/hgext/color.py
@@ -180,6 +180,7 @@
              realmode = 'ansi'

      if realmode == 'win32':
+        _terminfo_params = {}
          if not w32effects:
              if mode == 'win32':
                  # only warn if color.mode is explicitly set to win32

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: color_fix
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110729/cdc54db1/attachment.ksh>


More information about the Mercurial-devel mailing list