Description
The ccollab addchanges
command appends files that are controlled by PTC Integrity client (PTC Source) and that are located on your computer to a review on the Collaborator server.
Command Line Syntax
ccollab [global-options] addchanges [--upload-comment <value>] <review> <file-spec> [<file-spec> ...]
Command Options
Option |
Required? |
Description |
---|---|---|
global-options |
No |
A number of global or PTC-specific global options. See Command-line Global Options Reference. |
No |
A comment to be used for the uploaded files. Default is Local changes. |
|
Yes |
Identifier of the desired review (an integer number), or a
|
|
Yes |
Files to be added and/or folders to be scanned for modified files. Separate multiple file and folder names with spaces. If a file or folder name contains spaces, enclose this name is quotes.
After the scan is complete, a file list is presented in a graphical editor so you can review the files to be uploaded and correct the list, if needed. |
Examples
The following command line creates a new review and add all changes in the current folder and its subfolders, plus the foo.txt file, to the new review:
ccollab addchanges new . foo.txt
The following command line uploads modified files from the current working folder and its subfolders to review with the identifier 157:
ccollab addchanges 157 .
The following command uploads the foo.txt file and modified files from the c:\dev\project folder to the review, to which you uploaded files last time:
ccollab addchanges last foo.txt c:\dev\project
See Also
PTC Integrity Integration
ccollab addchanges
ccollab addchangelist (for PTC Integrity)
ccollab addversions (for PTC Integrity)