Checking in an object

You can check in specific objects, such as files and directories. Run this command on a client that is visible to the work area associated with the project, if the work area is maintained. Changes made in a visible work area can be automatically synchronized to the database.

This subcommand applies when you specify one or more arguments, and you do not specify the -project option.

About this task

ccm ci|checkin [-s|-state state] [-task task_spec] 
               [-c|-comment comment_string] [-ce|-commentedit] 
               [-cf|-commentfile file_path] [-cr|-commentreplace] 
               [-nc|-nocomment] file_spec...
-c|-comment comment_string
Specifies to append a comment on all baseline projects and their members when they are checked in to the released state. The comment can contain more than one line and accepts backslash encoded values.
You can use this option with -commentedit and -commentfile. If you use the -commentedit option, the comment displays in the default text editor.
-ce|-commentedit
Specifies to invoke the default text editor to compose and edit the comment. The result saved from the text editor is used as the final comment. You can use this option with the -comment and -commentfile options.
-cf|-commentfile file_path
Specifies to use the contents of the specified file for the comment. If you specified -comment, it is appended to that comment. You can use this option with the -commentedit option.
-cr|-commentreplace
Normally, any newly specified comment is appended to an existing comment. Use the -cr option to replace an existing comment. You can replace a comment only on writable objects.
-nc|-nocomment
Do not prompt for comments. If you do not enter a comment for any of the comment options, you are prompted for a comment. The comment is used for all objects checked in by the command. Use the -nc|-nocomment option to suppress comment prompting.
file_spec
Specifies the file or directory to check in. See File specification for details.
-s|-state state
Specifies the state for the object to be checked in. If not specified, the default next state is determined automatically.
-task task_spec
Specifies the task to be associated with any source objects that are checked in. A source object is a file or directory that is not marked as a product. You can set the task_spec to a single task. See Task specification for details.

Example


Feedback