ccollab addchanges (for Surround SCM)

Top 

Usage: ccollab [global-options] addchanges [--diffbranch <value> --upload-comment <value>] <review> <file-spec> [<file-spec> ...]

 

addchanges - Attaches locally-modified files to a review

 

Command Options

Option

Required?

Description

--diffbranch <value>

N

(ClearCase only) specify either branch-name or "predecessor" to determine the earlier version for upload

--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-spec> [<file-spec> ...]

Y

Local files or directories to scan for modified files

 

Uploads locally modified files controlled by Surround SCM to the Code Collaborator server.

 

The first argument is the review specifier, then any number of files or directories can be given. Files are selected as-is; directories are scanned recursively for locally-modified files, which might include edits, additions, deletions, branches, integrations, moves, copies, and so on.

 

After the scan is complete, a file list is presented in a graphical editor so you can review the files about to be uploaded and make any corrections you wish.

 

For example, to create a new review and add all changes in the current directory and below, plus the file foo.txt, you would use:

       ccollab addchanges new . foo.txt

 

To upload modified files from the current working directory and all subdirectories to review 123:

 

       ccollab addchanges 123 .

 

To upload file foo.txt and modified files from c:\dev\project into a brand new review:

 

       ccollab addchanges new foo.txt c:\dev\project