Checks in an activity.
Syntax
Syntax |
CHECKIN [-s] [-c "description"] <-n displayName> <-u userName> [-w "workspacePath"] <-a activityName> [-dn] [-f] [-s] |
Arguments |
|
<-a activityName> |
Name of the activity to be checked in. |
<-n displayName> |
Specifies the display name of the activity to be checked in. |
<-u userName> |
User name to be used if the check in is required to be done as another user. The user will be prompted for a password if this option is used. The old user is restored after the check in operation. |
[-w "workspacePath"] |
Workspace path to specify the workspace under which the activity exists. You have to specify the path if the activity name is not specified or the display name of the activity is specified. Will check in the default activity of the workspace if no name is specified. |
[-dn] |
Specify this argument if the name of the activity given is the display name and not the actual name. |
[-f] |
If this option is specified, the activity will be checked in without uploading the files to the server. |
[-c "description"] |
If in non-UI mode, this will be used to set the description of the activity. |
[-s] |
Suppress the popup window for changing the activity description and display name. |
Description |
Check in an activity. If the workspace is not specified, an attempt will be made to resolve the workspace from the current working directory or the folder item being worked on. |
Checking In a Specific Activity
To check in an activity with the name A1 , execute:
check in -a A1
Checking In a Specific Activity According to Its Display Name
To check in an activity with the display name A2 , execute:
check in -a A2 -dn
The -dn option specifies that the name specified with the -a option is actually a display name.
Checking In a Specific Activity and Changing Its Display Name
To check in an activity with the name A1 and to set its display name to "fixed a bug in UI", execute:
checkin -a A1 -s -n "fixed a bug in UI"
The -n option is used to set the display name of activity A1 . The -s option suppresses a dialog window asking for the display name to be entered.
Checking In the Default Activity of a Workspace
To check in the default activity of workspace //path/to/wsp , execute:
check in -w //path/to/wsp