To check in a nonselected hijacked file

About this task

If the view no longer selects the version that you hijacked, you cannot check out the hijacked file. The method for checking in hijacked files on the UNIX system and Linux differs from the method on Windows systems.
  • On the UNIX system or Linux, to check in modifications to a nonselected hijacked file, complete the following steps:
    1. Rename the hijacked file.
    2. Update the parent directory of the file by using following command:
      
      cleartool update path
      
    3. Display the version tree of the file using the following command:
      
      cleartool lsvtree -graphical path
      
    4. Determine which version is the version that you hijacked. You may need to view the history for this element by clicking Report > List History > Element > Major in the Version Tree Browser.
    5. In the Version Tree Browser, select the version that you originally hijacked and click Version > Checkout > Prompt for options.
    6. In your view, copy your hijacked file over the checked-out version.
    7. Merge from the latest version on the branch to your checked-out version by selecting the checked out version and choosing Version > Merge > From LATEST > Checkedout.
    8. After the merge, in the Version Tree Browser, click the version you checked out and click Version > Check In > Prompt for options.

  • On Windows systems, to check in modifications to a nonselected hijacked file, complete the following steps:
    1. From HCL VersionVault Windows Explorer or Windows Explorer, rename the hijacked file.
    2. Right-click the parent directory of the file. Then click VersionVault > Update.
    3. Right-click the file that was loaded into your view. Then click VersionVault > Version Tree.
    4. Determine which version is the version that you hijacked. You may need to view the history for this element by clicking Tools > History in the Version Tree Browser.
    5. In the Version Tree Browser, right-click the version that you hijacked and click Check Out.
    6. In your view, copy your hijacked file over the checked-out version.
    7. Merge from the latest version on the branch to your checked-out version by performing the following actions:
      1. In the Version Tree Browser, right-click the latest version on the branch and click Merge to.
      2. Click the version that is checked out to your view and follow the prompts.
    8. After the merge, in the Version Tree Browser, right-click the version you checked out and click Check In.