ccollab addfiles

Top  Previous  Next

Usage: ccollab [global-options] addfiles [--upload-comment <value>] <review> <file-path> [<file-path> ...]

 

addfiles - Attaches local files to a review without diffs

 

Command Options

Option

Required?

Description

--upload-comment <value>

N

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

<review>

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 first argument is the review specifier, the others are specific files to upload. 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