You can show the version history for an object. For example,
perhaps a developer has checked out a version of a file that you are
about to work on. You might want to discuss your changes with the
other developer to find out if the parallel versions must be merged.
About this task
ccm hist|history -p|-project [-f|-format format] [-nf|-noformat]
([-ch|-column_header] | [-nch|-nocolumn_header])
[-sep|-separator separator] ([-sby|-sortby sortspec] |
[-ns|-nosort|-no_sort]) [-gby|-groupby groupformat] project_spec...
ccm hist|history [-f|-format format] [-nf|-noformat]
([-ch|-column_header] | [-nch|-nocolumn_header])
[-sep|-separator separator] ([-sby|-sortby sortspec] |
[-ns|-nosort|-no_sort]) [-gby|-groupby groupformat] object_spec...
- -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.
- A keyword can be built in (%fullname, %displayname, %objectname)
or the name of any existing attribute such as %modify_time or %status.
- See Built-in keywords for a list of keywords.
- -gby|-groupby groupformat
- Specifies how to group the command output. See -gby|-groupby for details.
- -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|-nosort|-no_sort
- Specifies not to sort the command output. See -ns|-nosort for details.
- object_spec
- Specifies the project, file, directory, or release definition
to show.
- -p|-project
- Shows the history of a project.
- project_spec
- Specifies the project to list. See Project specification for details.
- -sby|-sortby sortspec
- Specifies how to sort the command output. See -sby|-sortby for details.
- -sep|-separator separator
- Used only with the -f|-format option. Specifies
a different separator character. See -sep|-separator for details.
Example
Examine the history of
main.c from
within the parent project work area.
ccm
history main.c
Object: main.c-1 (csrc:2)
Owner: john
State: integrate
Created:
Tue Jun 4 13:04:23 1999
Task: 4
Comment:
Predecessors:
Successors:
main.c-2:csrc:2
**************************************************************
Object: main.c-2 (csrc:2)
Owner: tom
State:
integrate
Created: Mon Jun 24 18:02:22 1999
Task: 7
Comment:
Predecessors:
main.c-1:csrc:2
Successors:
main.c-3:csrc:2
**************************************************************
Object: main.c-3 (csrc:2)
Owner: john
State: working
Created: Mon Aug 12 18:03:31 1999
Task: 12
Comment:
Predecessors:
main.c-2:csrc:2
Successors:
**************************************************************