ccollab addversions (for MKS Source)

Top  Previous  Next

Usage: ccollab [global-options] addversions [--upload-comment <value>] <review> [<version-spec> [<version-spec> ...]]

 

addversions - Attaches any 2 given versions to a review

 

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'

<version-spec> [<version-spec> ...]

N

Versions to be reviewed are given by <path> <version> [<previous version>], where <path> is the filename or server path of the file, <version> is the version to be reviewed, and <previous version> is an optional version that <version> should be diff'ed against. If <previous version> is not specified, the predecessor version of <version> will be used. If no <version-spec> is given on the command line, then one or more version specs will be read from stdin, one <version-spec> per line as described above. Note that arguments containing spaces must be quoted to be parsed correctly

 

Uploads differences between arbitrary versions of specific files. If the

path and versions are not specified, the client will expect to read them

from stdin.

 

Some examples of reading versions from stdin:

 

       ccollab addversions 86753

       ccollab addversions last < versionlist.txt

       cat versionlist.txt | ccollab addversions new