Creating mainline branches

Note: You may not have access to this administrator command.

A mainline branch is the highest-level central branch that contains all source files, labels, other branches, and repositories. All files saved to a specific Surround SCM server are stored in a corresponding branch. At least one mainline branch must be created before source files can be added to Surround SCM.

You cannot search, branch, promote, or rebase across mainline branches. Take the time to decide on your company’s use of mainline branches. Some companies may need only one mainline branch while other companies may have multiple mainline branches.

  1. Choose Tools > Administration > Create Mainline Branch.
  2. The Create Mainline Branch dialog box opens.

  3. Enter the Mainline branch name.
  4. Enter the Location on server.
  5. This is the path on the Surround SCM server computer where Surround SCM files are stored. This field is automatically populated with the same name as the mainline branch. You can enter a different name.

  6. Enter any comments.
  7. Click OK.
  8. You are prompted to confirm that you want to create a mainline branch.

  9. Click Yes.
  10. The mainline branch is created. for more information about branches see Working with Branches.