ccollab addtrack

Top  Previous  Next

Usage: ccollab [global-options] addtrack [--upload-comment <value>] <review> <defect-name> <release-name> [<root-path>]

 

addtrack - Attaches file parts for a Track associated with the given defect and release 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'

<defect-name>

Y

Associated CMVC defect

<release-name>

Y

Associated CMVC release

<root-path>

N

Path to local source files (CMVC top directory)

 

Upload files that are Parts in a CMVC Track to a review. If the root path is not specified, file content is extracted from CMVC, comparing the latest version in the Track to its predecessor version. If the root path is specified, the root path is used to resolve the file parts of the Track to the local files on disk, and these are compared against the file versions in the Track.

 

For example, to upload files that are already checked into CMVC:

 

       ccollab addtrack review defect release

 

If you have a local snapshot directory with local modifications and the CMVC files exist and are part of a Track:

 

       ccollab addtrack review defect release rootpath

 

rootpath specifies the root of the local sandbox that the file path names in the Track are relative to.