[PATCH 3 of 3] graphmod: use different styles for different edge types

Martijn Pieters mj at zopatista.com
Thu Feb 25 11:41:24 EST 2016


On 25 February 2016 at 17:28, timeless <timeless at gmail.com> wrote:
> Can we put this behind a flag and play with it?
>
> I don't want us stuck w/ a BC penalty...

What parts? The augmented dagwalker output (adding in edge type info),
styling the lines differently per edge, or just the part where the
missing-parent edge is truncated early?

Putting the augmented dagwalker behind a feature flag is harder, as
all code that consumes the parents info needs to know about both the
old and new format. Drawing the different edge styles is easy; just
clear the EDGES map and the output moves back to only using only `|`
characters. I don't know how easy it'll be to put the last step
(shortening missing-parent edges) behind a feature flag.

-- 
Martijn Pieters


More information about the Mercurial-devel mailing list