You can use the mkelem command
to convert a view-private file to a file element with the same name. There
are several cases:
- By default, mkelem creates an empty version
0 of the new element, then checks out the new element to your view. The view-private
file becomes the checked-out version of the new element.
- If you use the -ci option
(check in), mkelem does all of the above, then proceeds
to check in version 1 of the new element. Thus, version 1 has the contents
of the view-private file. With -ptime, mkelem preserves
the modification time of the file being checked in.
- If you use the -nco option (no check out), mkelem creates
an empty version 0 of the new element.
During the element-creation process, the view-private file
is renamed to prevent a name collision that would affect other Rational® ClearCase® tools
(for example, triggers on the mkelem operation). If this
renaming fails, you see a warning message. There are two renaming procedures: