You can compare projects for a project grouping with projects
for a specified baseline.
About this task
You must specify -union, -intersection,
or -not_in.
ccm pg|project_grouping -compare -baseline -projects
([-int|-intersection] | [-not|-not_in] | [-un|-union])
[-f|-format format] [-nf|-noformat]
([-ch|-column_header] | [-nch|-nocolumn_header])
[-sep|-separator separator] ([-sby|-sortby sortspec] |
[-ns|-nosort|-no_sort]) [-gby|-groupby groupformat]
[-u|-unnumbered] project_grouping_spec baseline_spec
- baseline_spec
- Specifies the baseline to be compared. For more information, see Baseline specification.
- -ch|-column_header
- Specifies to use a column header in the output format. See -ch|-column_header for details.
- -f|-format format
- Specifies the command output format. See -f|-format for details.
- -gby|-groupby groupformat
- Specifies how to group the command output. See -gby|-groupby for details.
- -int|-intersection
- Specifies the comparison to show the projects in common between
the project grouping and the baseline.
- -nch|-nocolumn_header
- Specifies not to use a column header in the output format. See -nch|-nocolumn_header for details.
- -nf|-noformat
- Specifies not to use column alignment. See -nf|-noformat for details.
- -ns|-no_sort
- Specifies not to sort the output. See -ns|-nosort for details.
- -not|-not_in
- Specifies the comparison to show the projects in the project grouping
that are not in baseline.
- project_grouping_spec
- Specifies the project grouping to be compared. For more information,
see Project grouping specification.
- -sep|-separator separator
- Specifies a different separator character. See -sep|-separator for details.
- -sby|-sortby sortspec
- Specifies how to sort the command output. See -sby|-sortby for details.
- -un|-union
- Specifies the comparison to show both of the projects in the project
grouping and the baseline.
- -u|-unnumbered
- Suppresses automatic numbering of the output (the output is not
numbered). See -u|-unnumbered for details.
Example
Compare the projects in common
between the project grouping
My 2.0 Collaborative Development
projects and the baseline
1.0 build 123.
ccm pg -compare -baseline -project -intersection
"My 2.0 Collaborative Development projects" "1.0 build 123"