Conditional View in Branch-Explorer
There should be user defined views for the Branch-Explorer. Much like the coditional format thing.
You add some rules (more than one possible) to a view on which branches you want to see in that view. Maybe these views should be serverwide and not bound to a single user.
In the Branch-Explorer you can select a view and see all branches matching the defined rules for this view.
This is a extension to you branch visibility system. But with multiple definitions to easily switch between them.
We added “inclusion and exclusion rules” to the branch explorer a few months ago: http://codicesoftware.blogspot.com/2014/02/new-release-plastic-scm-5044534-is-out.html
Wait wait wait!
inclusion and exclusion rules are great! BUT These aren't what this uservoice was about!
I need to have more than one "view" in the branch Explorer.
This is what I was dreaming of:
To be able to group inclusion or format rules together to get a custom view.
Then there should be a Combobox with all defined views to select from.
This way it's easy to show or hide the right branches in an easy way.
We use an attribute 'Assignee' to assign a branch to a dev.
So I have an inclusion rule "Attribute='Assignee' and AttrValue like '%buchfink%'".
This works very well =)
But if other devs want me to have a look at their branches, I first need to add a new inclusion rule for their branches. And delete this new rule afterwards.
This isn't very smooth, don't you think, too?!
Ideally the conditions would allow wild cards and/or regular expressions (also useful for the search box) eg. name="project-x-*".
Visibility mode isn't really practical when you have hundreds of branches
Just to have it here too:
I think it would be good if the conditions are the same as the format rule conditions. Like 'owner="XXX"'or 'name="main"'.
Maybe even 'owner=me' where 'me' is a variable with the current user name!?
Or with acces on custom properties which each branch may has assigned: 'property[XYZ]="XXX"' or something like this.
This would add great value to the branch-explorer since it's such a great tool but you need to change the "view" sometimes depending on what you are working at or what you are searching for...