ccollab addactivity

Applies to Collaborator 11.5, last modified on December 21, 2021

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

Must be either an integer review-id, 'new', 'ask', or 'last'

<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