ccollab addactivity

Applies to Collaborator 14.5, last modified on April 18, 2024

Description

The ccollab addactivity command attaches file versions from one or more ClearCase activities to a review.

Command Line Syntax

ccollab [global-options] addactivity [--diffintegration] [--upload-comment <value>] <review> <activity-name> [<activity-name> ...]

Command Options

Option

Required?

Description

--diffintegration

No

Use LATEST version from default integration stream, if available, as the predecessor version

--upload-comment <value>

No

Comment used to upload files (default is "Local changes")

<review>

Yes

Identifier of the desired review (an integer number), or a new, ask, or last keyword. Where keywords define the following behaviour:

  • new - the command will create a new review,
  • ask - the command will pause execution and prompt for the identifier of the desired review,
  • last - the command will use the last review that was created on the current machine via Command-Line Client (that is, it does not know about reviews created elsewhere).

<activity-name> [<activity-name> ...]

Yes

Specify one or more ClearCase activities by name, or use 'all' to include all activities in the current view

Remarks

  • For each file in the activity, the latest version in the activity and the predecessor of the earliest version in the activity are uploaded to the review.

  • You can specify multiple activity names on the command line. You can also use the word 'all' as the activity name to include all activities in the current view. If multiple activities are given, the changeset uploaded is the union of all changes in each of the activities.

  • You can use the --diffintegration option to include the default integration stream in determining version content for review. For the most recent version, this option will scan the versions of each file in the given activity as well as the versions of those files in any associated rebase activities, to determine the most recent version. For the previous version for each file in the activity, this option will use the LATEST version in the default integration branch (if available) as the previous version.

  • IBM Rational ClearCase Remote Client (CCRC) does not support the addactivity command.

See Also

ccollab
ClearCase Integration
ccollab addchangelist (for ClearCase)
ccollab addversions (for ClearCase)
ccollab commit (for ClearCase)

Highlight search results