|
Usage: ccollab [global-options] addfiles [--relative-to <value> --upload-comment <value>] <review> <file-path> [<file-path> ...]
addfiles - Attaches local files to a review without diffs
Option
|
Required?
|
Description
|
|
|
N
|
Absolute parent path to calculate file-paths relative to if no SCM system
|
--upload-comment <value>
|
N
|
Comment used to upload files (default is "Local changes")
|
|
|
Y
|
Must be either an integer review-id, 'new', 'ask', or 'last'
|
<file-path> [<file-path> ...]
|
Y
|
Local files to upload
|
Uploads local files to the Code Collaborator server. Files are uploaded without a "previous version" so the entire file will be shown without differences.
If you upload the same file path on more than one occasion, the server will start making diffs of each version against the previous.
The server displays the full file system path of the files, unless you specifythe --relative-to option.
It is an error to specify a directory or a file that does not exist.
For example, to upload files foo.txt and c:\dev\bar.txt into a brand new review:
ccollab addfiles new foo.txt c:\dev\bar.txt
To upload file c:\dev\bar.txt into review #62:
ccollab addfiles 62 c:\dev\bar.txt
|