ccm co|checkout [-task task_spec] [-t|-to version|file_spec]
[-c|-comment comment_string] [-ce|-commentedit]
[-cf|-commentfile file_path] file_spec...
You can use this option with -commentedit and -commentfile. If you use the -commentedit option, the comment displays in the default text editor.
By default, the -to argument is interpreted as a new version. For example, run this command:
ccm co main.c -to bar
The new object version is main.c-bar.
To change the name, you must include the object name and the version in the destination argument. For example, run this command:
ccm co main.c -to bar.c-1
The new object version is bar.c-1.
If you are checking out a project, you can specify the version only. If you are checking out a hierarchy of projects, the new version is used for the project as well as its subprojects. Use the -versions option to map new versions to old versions of projects in the hierarchy. The -to and -versions options are mutually exclusive. Also, if you do not specify the -to or -version option, the default next version is computed automatically using a built-in algorithm.
If you are checking out a version of an object that is used in your current project, the new version (the "to" version) is also used in your project.
ccm co -c "patch1: fix symbol table bug" -to patch1 main.c-1
Windows:
>
ccm co -c "added new files" c:\users\john\ccm_wa\test_db\projA-3\utils\tools
UNIX:
$ ccm
co -c "added new files" ~/ccm_wa/test_db/projA-3/utils/tools
ccm co -c "comment string" -task task_number object_name1 object_name2