Open topic with navigation
Moving repositories to different mainline branches
To move a repository to another mainline branch, export it from the existing mainline to a new or existing mainline. The repository, subrepositories, and files are copied to the destination mainline, and include the following information:
- Repository history, workflow, code review settings, issue tracking integration, and removed items.
- File history, workflow states, custom field values, issue tracking attachment details, and share information.
Keep the following in mind:
- Repository information about changelists, labels, code reviews, check out status, and bookmarks is not exported. File information about working directories, cloaked repositories, shadow folders, shelves, bookmarks, email notifications, filters, triggers, and reports is not exported.
- If exporting to an existing mainline branch, the destination branch must be an active baseline branch and cannot include a repository with the same name as the source repository. All imported repositories inherit the parent repository security.
- You cannot export repositories from mainlines with case-sensitive filenames enabled to existing mainlines that do not allow case-sensitive filenames.
- If exporting to a new mainline branch, any security settings and server option overrides set on the source branch are reset to the defaults for new mainlines. See Controlling access to specific branches and Overriding server options for specific mainline branches.
1. Choose Tools > Administration > Export Repository to Mainline.
The Export Repository to Mainline dialog box opens.
2. Click Browse to select the repository to export.
3. Select an option to specify the destination mainline branch.
- Export repository to new mainline creates a new mainline branch. Enter a Mainline name and select the Location where you want to store the branch. The list includes all RDBMS connections configured for the Surround SCM Server. See Adding RDBMS connections if you need to add an RDBMS connection.
- Export repository to existing mainline exports the repository to an existing mainline branch. Click Browse to select the branch and repository.
4. Enter any Comments, such as the reason for exporting the repository.
5. Click OK.
A progress indicator opens. When the export is complete, the repository, including all files and subrepositories, are added to the destination branch.
The repository now exists in the destination and source branches. To ensure users work with files in the correct location or to free up space, you can remove the repository from the source branch if it is no longer needed. See Removing repositories.
Tip: Remember to inform users about new repository location.