[Bug 4298] New: Exception using debugcolor

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jul 8 03:41:10 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4298

          Priority: normal
            Bug ID: 4298
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Exception using debugcolor
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: bley at linuxmail.org
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.0
         Component: color
           Product: Mercurial

Running "hg debugcolor" in a console window, with color.mode = win32 yields:

-----------------------------------------------------------------------------
color mode: win32
available colors:
yellow
magenta
cyan_background
underline
blue
inverse
black
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.0+3)
** Extensions loaded: hgk, strip, mq, convert, color, pager, record
Traceback (most recent call last):
  File "hg", line 42, in <module>
  File "mercurial\dispatch.pyo", line 28, in run
  File "mercurial\dispatch.pyo", line 69, in dispatch
  File "mercurial\dispatch.pyo", line 138, in _runcatch
  File "mercurial\dispatch.pyo", line 810, in _dispatch
  File "mercurial\dispatch.pyo", line 590, in runcommand
  File "mercurial\extensions.pyo", line 196, in wrap
  File "hgext\pager.pyo", line 138, in pagecmd
  File "mercurial\extensions.pyo", line 196, in wrap
  File "hgext\color.pyo", line 431, in colorcmd
  File "mercurial\dispatch.pyo", line 901, in _runcommand
  File "mercurial\dispatch.pyo", line 872, in checkargs
  File "mercurial\dispatch.pyo", line 807, in <lambda>
  File "mercurial\util.pyo", line 518, in check
  File "mercurial\extensions.pyo", line 151, in wrap
  File "mercurial\util.pyo", line 518, in check
  File "hgext\mq.pyo", line 3387, in mqcommand
  File "mercurial\util.pyo", line 518, in check
  File "hgext\color.pyo", line 451, in debugcolor
  File "hgext\color.pyo", line 360, in write
  File "hgext\color.pyo", line 562, in win32print
KeyError: 'italic'
-----------------------------------------------------------------------------

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list