addexistingmainline
Restore a removed mainline branch to make it active again. The mainline branch, child branches, repositories and subrepositories, and files are restored.
You can restore mainline branches in RDBMS and non-RDBMS database formats. If you removed a mainline branch before upgrading to Surround SCM 2009 or later, the database is in a flat file format and must be upgraded to RDBMS format after it is restored. See upgrademainline.
sscm addexistingmainline [ConnectionName [MainlineName]] [-h] [-dNonRDBMSDatabaseDirectory] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
ConnectionName | Name of existing RDBMS connection that contains the mainline. Name is case-sensitive. If not specified, all configured connections are displayed. |
MainlineName | Name of mainline to add. If not specified, all available mainlines are displayed. |
-d | Surround SCM Server directory where the non-RDBMS mainline branch was created. This option not valid if ConnectionName or MainlineName is specified. Non-RDBMS mainlines need to be converted to RDBMS before they will be available for use. |
-h | Display online help for the command. |
-y | Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI. |
-z | Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information. |
+u | Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command. |