Remove a repository if it is no longer needed, but you want to keep it in case you need to use it again later. When a repository is removed, its contents are not permanently deleted and can be restored.
1. Select the repository and choose Repository > Remove Repository.
The Remove Repository dialog box opens.
2. Enter any Comments, such as the reason for removing the repository.
3. Select Force recursive remove to remove the repository and all files and subrepositories.
4. Select Permanently destroy repository to delete the repository from the hard drive.
If you select Force recursive remove, this option changes to Permanently destroy repository and contents.
5. Expand the Changelist options to select options for removing the repository as part of a changelist. See Adding file actions to changelists.
6. Click OK.
7. Confirm the removal.
Note: To view a list of removed subrepositories, select a repository and choose Activities > Properties and then click the Removed Items tab.
Note: If you destroy the repository without removing it from the branch template, the repository is added to the branch when the child branch is rebased later if it still exists on the parent branch.