Summary
Freezes branches in a Surround SCM
repository.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .SurroundSCM - Base Types
-
- ExternalProgramBase
- SSCMTask
graph BT
Type-->Base0["SSCMTask"]
click Base0 "/api/NAnt.Contrib.Tasks.SurroundSCM/SSCMTask"
Base0-->Base1["ExternalProgramBase"]
Type["SSCMFreeze"]
class Type type-node
Syntax
[TaskName("sscmfreeze")]
public class SSCMFreeze : SSCMTask
Examples
Freeze the 'Widget 1.0' branch off of the mainline 'Mainline' on the server at localhost, port 4900 with username 'administrator' and a blank password.
<sscmfreeze
serverconnect="localhost:4900"
serverlogin="administrator:"
mainline="Mainline"
branch="Widget 1.0"
/>
Remarks
Freezing a branch prevents any code changes being made to files in the
branch. When a branch is frozen, it is locked and no changes can be
made to it.
Attributes
| Type | Description |
|---|---|
| TaskName |
Properties
| Name | Value | Summary |
|---|---|---|
| Branch | string |
Surround SCM branch name.
|
| ExeName | string |
Override ExeName paramater to sscm.exe for Surround SCM.
Inherited from SSCMTask
|
| Mainline | string |
Surround SCM mainline branch name. The default is pulled from the
local working directory.
|
| ProgramArguments | string |
Gets the command line arguments for the external program.
Inherited from SSCMTask
|
| ServerConnect | string |
The address and port number of the Surround SCM server host computer.
Format is server:port. If not entered, the last saved connection
parameters are used.
Inherited from SSCMTask
|
| ServerLogin | string |
The username and password used to login to the Surround SCM server.
Format is username:password. If not entered, the last saved login
parameters are used.
Inherited from SSCMTask
|
Methods
| Name | Value | Summary |
|---|---|---|
| Write |
void |
Writes the task-specific arguments to the specified
System.Text.StringBuilder.
|
