How to recover a file from "Checkout but removed" state?

Samselvaprabu picture Samselvaprabu · Jul 31, 2012 · Viewed 14.1k times · Source

I was trying to checkout a file and it went it to "Checkout but removed" state.

I am not able to undocheckout it and have no clue what needs to be done next.

When i surf through net for this I found an article IBM site Checkout But removed state

But i did not try to rename the file name as mentioned in the article still gets the error.

I am using Clearcase 7.0.1.0 version. Please help to solve this issue.

Answer

VonC picture VonC · Jul 31, 2012

You should be to undo checkout through the GUI:

  • find checkout
  • select the checkedout file and right-click: undo checkout

Even if that file is not visible on the disk, the "Find checkout" GUI will list it as checked out.

Find checkout


Another solution is to copy the file from another view, for instance a dynamic view with the same config spec (easy to create, and providing a quick access to the same file).

If you copy it on your snapshot view, the file will be listed as "checked out" (but with no modifications yet), and you can resume working on it.