Sat, 1 May 2010 16:56:35 -0500, /Steve Borho/:

> Looks like there's a typo in color.py (introduced by me) in w32effects
>
>          'bold': FOREGROUND_INTENSITY,
>          .,,
>          'bold_background': FOREGROUND_INTENSITY,
>
> That should be BACKGROUND_INTENSITY [1].  I'll push a fix for this in
> a short bit.

Thanks, Steve.  I'm now using:

tortoisehg-unstable-1.0.25010.25019-x86-3a92b483-6b36-4e14-938e-ab7941aabe26.msi

and I see I can use:

status.deleted = yellow bold blue_background bold_background

I've also tried:

status.deleted = blue bold yellow_background bold_background

but the 'yellow_background' doesn't appear recognized.  Looking at:

http://selenic.com/repo/hg/file/tip/hgext/color.py

I see:

_effects = { ...
             'black_background': 40, 'red_background': 41,
             'green_background': 42, 'yellow_background': 43,
             'blue_background': 44, 'purple_background': 45,
             'cyan_background': 46, 'white_background': 47}

but only:

     w32effects = {
         ...
         'black_background': 0,
         'red_background': BACKGROUND_RED,
         'green_background': BACKGROUND_GREEN,
         'blue_background': BACKGROUND_BLUE,
         'cyan_background': BACKGROUND_BLUE | BACKGROUND_GREEN,
         ...

Is there a particular reason the 'yellow', 'purple' and 'white' 
backgrounds are omitted for the win32 console?

-- 
Stanimir

------------------------------------------------------------------------------

_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to