Description
The ccollab addchangelist
command attaches all files from a submitted ClearCase changelist (activity) to a review on the Collaborator server.
Command Line Syntax
ccollab [global-options] addchangelist <review> <changelist> [<changelist> ...] --exclude <file-mask list> --include <file-mask list>
Command Options
Option |
Required? |
Description |
---|---|---|
[global-options] |
No |
A number of global or ClearCase-specific global options. See Command-line Global Options Reference. |
Yes |
Identifier of the desired review (an integer number), or a
|
|
Yes |
Identifier(s) or names of the desired activity(ies) in your source control. |
|
No |
Exclude files from changelist(s), that match specified mask(s), will be ignored (changelist command uploads to review only files that don’t match the masks). When no files in changelist are matches to the mask(s) then whole changelist is uploaded ('exclude' option is ignored) |
|
No |
Includes only files that match specified mask(s) will be uploaded to review. When no files in changelist are matches to the mask(s) then nothing is uploaded. |
|
No |
Set whether to skip changelist if it already exists in review. |
|
No |
Set whether empty changelist errors will be ignored when multiple changelists are uploaded. If all changelists are empty the command will throw an exception anyways. |
Examples
To upload Activities add_new_scm_support and add_extended_version_parsing to a new review:
ccollab addchangelist new add_new_scm_support add_extended_version_parsing
To upload Activities AnActivity and AnotherActivity to review 111:
ccollab addchangelist 111 AnActivity AnotherActivity
To upload Activity AnActivity with all .java and .txt files except that started with 'test' to a new review
ccollab addchangelist new AnActivity --include '*.java, *.txt' --exclude 'test*.*'
See Also
ClearCase Integration
ccollab addchangelist
ccollab addactivity
ccollab addchanges (for ClearCase)
ccollab addversions (for ClearCase)
ccollab commit (for ClearCase)