Creating repositories

Before you add files to Surround SCM, you need to create a repository to store the files in. A repository is a collection of files and subrepositories that help you organize source code and other files managed with Surround SCM.

1. Choose Repository > Create Repository.

The Create Repository dialog box opens. The Branch field displays the branch you are creating the repository in. The Parent repository field displays the repository you are creating the repository in.

2. Enter the New repository name.

Repository names cannot contain the following characters: \, /, *, ?

3. Enter any Comments, such as the reason for creating the repository.

4. Set a working directory and select any inherit options. A working directory is a location on your computer or network that a repository is mapped to.

  • Enter a Working directory path or click Browse to select a directory.
  • Select Allow child repositories to inherit this working directory if you want child repositories to use the same directory.
  • Select Inherit working directory from parent to use the parent repository's working directory.

5. Optionally expand the Changelist options area to select options for creating the repository as part of a changelist. See Adding file actions to changelists.

6. Click OK.

After creating a repository, you need to add source files to it. See Adding files to Surround SCM.

If the branch uses a template, you cannot create a repository with the same name as a repository excluded in the template. To add the excluded repository to the branch, modify the branch template to include it. See Modifying templates for existing branches.