[proposal] Draw default branch on graph with bold line

Augie Fackler raf at durin42.com
Thu Jan 5 09:13:42 CST 2012


On Jan 4, 2012, at 10:41 PM, Constantine wrote:
> 
> Hello and happy new year.
> 
> On my vacation I gathered myself and wrote configurable patch.
> Diff here: http://pastebin.com/ChBLrjQ5
> 
> Configuration in hgrc:
> 
> [graph]
> default = #by default width is 3px
> stable = 2
> 
> I splits options to pass line style to js canvas, but use only width (I
> haven't make out with canvas yet).

This sounds interesting, can you mail the patch using patchbomb[0] so more people will take a look?

[0] http://mercurial.selenic.com/wiki/PatchbombExtension

> 
> 2011/10/17 Pierre-Yves David <pierre-yves.david at logilab.fr>
> 
>> On Mon, Oct 17, 2011 at 04:31:21PM +0700, Constantine wrote:
>>> Hello
>>> 
>>> We have central repository running as "serve". It would be cool if on
>> graph
>>> we could visually distinguish "trunk" (default branch).
>>> 
>>> Here example http://imageshack.us/photo/my-images/20/trunko.png/
>>> 
>>> If it looks appropiate, I can send you patch.
>> 
>> This looks cool but need to be configurable. I know several place where
>> stable
>> is the main branche.
>> 
>> 
>> --
>> Pierre-Yves David
>> 
>> http://www.logilab.fr/
>> 
>> 
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>> 
>> iEUEARECAAYFAk6cUa8ACgkQElczi7p/bN+xpQCfUpztoXTYT40oVtvpBJy5obX5
>> WF8AkQGNWrtqU8VuhnDzo+SBfrbyD04=
>> =XW3E
>> -----END PGP SIGNATURE-----





More information about the Mercurial-devel mailing list