Summary
Checks in files in 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["SSCMCheckin"]
class Type type-node
Syntax
[TaskName("sscmcheckin")]
public class SSCMCheckin : SSCMTask
Examples
Check In all files and repositories from repository 'Mainline/Widget' recursively from the 'Widget 1.0' branch to the working directory setup for user 'administrator'. This call outputs the progress of the Check In to the console.
<sscmcheckin
serverconnect="localhost:4900"
serverlogin="administrator:"
file="/"
branch="Widget 1.0"
repository="Mainline/Widget"
recursive="true"
comment="I made some changes"
/>
Check in file 'Mainline/Widget/Widget.java' from the 'Widget 1.0' branch from the working directory setup for user 'administrator' with comment 'I made some changes'. Set the 'Release 1.1.1' label to this new version, even if the label already exists on an earlier version.
<sscmcheckin
serverconnect="localhost:4900"
serverlogin="administrator:"
file="Widget.java"
branch="Widget 1.0"
repository="Mainline/Widget"
comment="I made some changes"
label="Release 1.1.1"
overwritelabel="true"
/>
Remarks
Check in updated Surround SCM files with changes, removes the lock on
the files, and makes changes available to other users.
Attributes
Type | Description |
---|---|
TaskName |
Properties
Name | Value | Summary |
---|---|---|
Branch | string |
Surround SCM branch name. The default is pulled from the local
working directory.
|
Comment | string |
Comment for the check-in.
|
DeleteLocal | bool |
Remove local file after check in. The default is
false .
|
ExeName | string |
Override ExeName paramater to sscm.exe for Surround SCM.
Inherited from SSCMTask
|
File | string |
File or repository name. Can be / or empty, which means the
repository specified by the repository option or the default
repository.
|
ForceUpdate | bool |
Update version even if no changes. The default is
false .
|
GetLocal | bool |
Get file after check in. The default is
true .
|
KeepLocked | bool |
Keep the lock after check in. The default is
false .
|
Label | string |
A label for the check in code.
|
OverwriteLabel | bool |
Overwrite previous label on file. The default is
false .
|
ProgramArguments | string |
Gets the command line arguments for the external program.
Inherited from SSCMTask
|
Quiet | bool |
Do not list repository and local full path of the Surround
SCM server. The default is
false .
|
Recursive | bool |
Recursively check in all files and sub-repositories.
The default is
false .
|
Repository | string |
Surround SCM repository path. The default is pulled from the local
working directory.
|
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
|
SkipAutomerge | bool |
Force check in without merge. Ignores code changes checked in after
the user's last checkout or merge. The default is
false .
|
TtpDatabase | string |
The TestTrack Pro database configuration name.
|
TtpDefects | string |
The TestTrack Pro defect number(s) for attachment. Format is "#:#:#:#".
|
TtpLogin | string |
The TestTrack Pro username and password.
|
Writable | bool |
Make file writable after check in. The default is
false .
|
Methods
Name | Value | Summary |
---|---|---|
Write |
void |
Writes the task-specific arguments to the specified
System.Text.StringBuilder .
|