changebranchtype
Convert workspace branches to baseline branches to provide access to other users or change the branch owner to transfer a workspace branch to another user.
sscm changebranchtype BranchName -oCurrentOwner|-iCurrentOwnerId [-pRepository] -sbaseline|(-nNewOwner[-bNewBranchName]) [-ccComment|-cpCommentPath|-c-] [-h] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
BranchName | Workspace branch. |
-b | New branch name. |
-h | Display online help for the command. |
-i | Branch owner’s user ID if they are no longer a Surround SCM user (workspace branches only). Use lsbranch to find user ID. Cannot use with -o. |
-n | New owner's username. Cannot use with -sbaseline. |
-o | Current owner's username. Cannot use with -i. |
-p | Repository that contains branch. If not specified, default working directory repository is used. |
-sbaseline | Change workspace branch to a baseline branch. Cannot use with -b or -n. |
-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. |