Checking in an element
Before you begin
About this task
You can check in one or more directories, scripts, or the contents of a folder. You can also merge files, if needed, when you check in an element.
An element is an object in a VOB, a database that stores your project's files. An element can be a Functional Test script, a Functional Test project, an object map or a Java™ file. All elements are stored with version history and comments.
To merge is the process of combining the contents of two or more files into a single new file. Typically, the files are versions of a single file element.
A merge condition is created when multiple users have checked out the same version of a file. Each user makes changes and checks in the file. The first user to check in the file creates a new version. The second user to check in the file is required to merge. If ClearCase can manage combining the multiple edits to the file, the changes are merged into a new version of the file automatically. If the edits conflict or cannot be resolved, users must resolve the conflicts. ClearCase starts the Diff Merge tool, in which you can view the differences and merge two or more files, if necessary.
To check in an element:
Procedure
Results
If you check in an element and a later version of this element already exists and is different than your element, you are prompted to merge. ClearCase attempts to merge automatically, starting the Diff Merge tool if it needs your input to merge. Use the Diff Merge tool to view the differences and merge two or more files, if needed.
Related Topics:
) in the State
column, it means that you cannot check in an element.