Under the hood: What happens when you add to source control

The mkelem or Add to source control command can be used to add file system objects to source control.

Using the Windows® graphical user interface

The Add to Source Control command always creates an element and initializes its version tree by creating a single branch (named main) and a single, empty version (version 0) on that branch. The following options in the Add to Source Control window determine optional Rational® ClearCase® behavior:

Using the command line interface

The mkelem command always creates an element and initializes its version tree by creating a single branch (named main) and a single, empty version (version 0) on that branch. The following arguments for the mkelem command determine optional Rational ClearCase behavior:

Other views do not see the element until the parent directories of the element are checked in (you must do this yourself) and you check in the file or directory.


Feedback