Modifying old target directory versions to see relocated elements
About this task
When the relocate operation checks
in a new version of the destination directory, only that version catalogs
the relocated elements. Now, consider this scenario:
- You have a view that selects a previous version of the target directory (\new@@\main\2, for example).
- You want the view to see the newly relocated element dir1 at its new location, \new\dir1, instead of its old one, \bigdir\dir1.
In a case such as this, you can manually update previous versions of the destination directory to catalog relocated elements. For example, to add dir1 to directory version \new@@\main\2, you would use the following procedure.
Procedure
- Log on as a privileged user.
- Create the VOB symbolic link.The following command requires special privileges because it modifies a directory version's contents without checking it out or changing its event history.
cd \new
cleartool ln –slink –nco dir1 \new@@\main\2\dir1
Modify non-checkedout directory version "\new@@\main\2"? [no] yes
Link created: "\new@@\main\2\dir1"