|
ccollab addversions |
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
(See Version Control specific description - ClearCase CMVC MKS Source Perforce Surround SCM Rational Synergy )
is given by a filename followed by a version number, and optionally, a previous version number:
file-name version-number [previous-version-number]
If no previous version number is explicity given, diffs will be generated with the predecessor version as determined from the SCM system.
Adding versions for a single file can be done with command line arguments given after the review number, or for multiple files, may be read from stdin. If the path and versions are not given on the command line, the client will expect to read them from stdin. Each line read should be in the format shown above. Some example command lines for reading versions from stdin:
ccollab addversions 86753 ccollab addversions last < versionlist.txt cat versionlist.txt | ccollab addversions new |