[PATCH 0 of 1] Draw default branch on graph with colored bold line

Matt Mackall mpm at selenic.com
Fri Jan 6 17:28:53 CST 2012


On Fri, 2012-01-06 at 21:33 +0700, Constantine Linnick wrote:
> graph: in hgrc specify line width and color of main branch
> 
> You can specify width and, optionally, color to visually distinguish main branch
> (trunk) on hgweb's graph page. If color specified, all branch heads will share
> same color. Settings format is branch = width color, where width in px and color
> is six hexadecimal digits e.g. default = 2 FF0000.

Sigh. Why are you sending me a patch?

http://markmail.org/message/cmf3ypnsxbu4ryz6

"I'll need to see a plan for that syntax before I can accept this."
"I don't need an implementation, I need a discussion"
"Again, what does the config syntax look like?"

All you had to do was write something like this:

 Ok, how about like this?

 [graph]
 default=2 FF0000

And then we could talk about it without you wasting any time coding it
up!

Kevin's suggestion is better, especially if we decide to add any more
attributes, but I think I'd probably flip the branch name and attribute:

[graph]
default.color = FF0000

I'd suggest calling this [web.graph] but perhaps Tortoise or other graph
renderers will start using it.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list