Mainline branch identification
When viewing a project's files, the initial view is the list of the project's branches. The branches appear in alphabetical order, but the branch identified as the main branch appears first and bolded.
Swarm uses a list of names to identify which of a project branches should be considered as the main branch. The default names are main, mainline, master, and trunk.
You can adjust the configuration to match your local branch naming convention. Here is an example of the configuration block:
<?php
// this block should be a peer of 'p4'
'projects' => array(
'mainlines' => array(
'main', 'mainline', 'master', 'trunk',
),
),