Default Branch for different configurations

Hi,

i am using a single repository for a project, that configures two configurations. One for development, the other for release. For the selection of the branch in the "Queue Dialog" i want to configure the default branch. I could do so by creating a repo for each configuration. But that's a waste of resources. Any ideas appreciated.

Thomas

Hi Thomas,

You can specify the default branch per configuration using Configuration Repository Branch Mappings. Click on the Mappings link next to the repository on the Repositories step of the Configuration Wizard open a dialog to select the Default Branch.

Hi Dave,

thanks a lot. That did the trick. However the UI flow seems wrong to me. The configuration for the default branch hidden in the mappings dialog is non-intuitive. I am not asking for a redesign as this is more work to do, but i suggest to add a hint at least. In the dialog "Edit Repository" [Branches] add a hint for the "Default Branch" such as "A default branch per configuration can be specified using the "Repository Mappings" dialog."

Thomas

Hi Thomas,

Thank you for the suggestion. We've now added a hint about the Mappings dialog to the repository dialog for the next version release.

Great. Thanks!

Posted By Dave Sparks on 14 Jun 2018 06:33 PM

Hi Thomas,

Thank you for the suggestion. We've now added a hint about the Mappings dialog to the repository dialog for the next version release.

Hi Dave,

i don't see a hint in the latest 1.8.1.* versions. Did you mean any other version?

Thomas

It is there - but I now see that it appears is only when editing an existing repository - will fix.

I am editing an existing repository. I don't see a hint.

What type of repository? The mappings are only available for selected or configuration-level branch-aware repositories.

Ok, i see it now :) I was looking in the [Branches] tab as i am configuring the default branch there.