Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 837
    • Issues 837
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #2570

Closed
Open
Created Apr 30, 2013 by Bitbucket Importer@bitbucket_importerOwner

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.

E.g.

"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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking