Colouring by named branches
Created originally on Bitbucket by steve-spencer (Steve Spencer)
Currently branches are coloured randomly, with option to set fixed colours for fixed branch names.
There's the colour inside the circle, which seems to be controlled by this option. Then there's the interconnect colour, which seems to be random.
We have a repo branching strategy where feature branches are called "Feature/Xyz" and "Release/1.1", for example (plus "default" as trunk/dev). Patterns like these are presumably quite common.
I'd like to be able to use colour for branch name, and shade for anonymous branches within that branch name.
"default" - black, with grey for anon branches (short-term merges)
"Feature/Xyz" - blue, with light blue anon branches
"Feature/Abc" - green, etc.
"Release/1.1" - deep red
It would be great if the named branches had a pseudo-random colour seeded by the branch name, with shading of interconnect automatically used for anon-branches.
Alternatively, if the branch colours option could support regex, we'd be able to hack this up somewhat.
You could also split the filled circle, showing the colours from either side, for a merge commit.
Something like this would help visualising the sea of branches we're beginning to see in our repo.
See also #586 (closed) Other keywords: Color Coloring