[PATCH] hgweb: display branch names

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Oct 21 05:28:28 CDT 2008


On Tue, Oct 21, 2008 at 12:04, Benoît Allard <benoit at aeteurope.nl> wrote:
> Then I guess you want to play with the HSV color space ... give S and V a
> constant value, and feed your hash into H, then convert to RGB for our
> browser to be able to understand it ... You shouldn't get too much bad
> surprises ...
>
> Here you can play with the values:
> http://www.yafla.com/yaflaColor/ColorRGBHSL.aspx
>
> And Wikipedia gives us the conversion formula
> http://en.wikipedia.org/wiki/HSV_color_space#Conversion_from_HSV_to_RGB
>
> I can give it a shoot tonight if you share your advancement.

That sounds great! My current version is here:

http://hg.xavamedia.nl/mercurial/djc.mq/file/afea2e979885/paper-branches#l1

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list