While using the Clearcase tool, one might come across a scenario where you are unable to checkout a certain file/folder because some other user has performed a reserved checkout on it.
In a simple scenario, one can ask the other user to either undo the checkout or perform a check-in.
However in a slightly tricky scenario, what if the other user has left the company and his user id is no longer active / functional.
Then in that case check with the administrator. He usually has the rights to remove the views associated with the reserved checkout.
He would most likely identify the view name by finding checkouts. Once the view name is found, he would try to find the view's UUID
Eg : cleartool lsview -long viewname
The UUID is usually of the form dfaa0744.56c611d4.b0da.00:b0:d0:20:d5:9d
Once the UUID is found, one can completely remove the defunct view from the system using rmview.
Eg : cleartool rmview -r -uuid dfaa0744.56c611d4.b0da.00:b0:d0:20:d5:9d
Now since the view associated with the reserved checkout gets deleted, the issue gets solved and the user can smoothly checkout. Hurray!
In a simple scenario, one can ask the other user to either undo the checkout or perform a check-in.
However in a slightly tricky scenario, what if the other user has left the company and his user id is no longer active / functional.
Then in that case check with the administrator. He usually has the rights to remove the views associated with the reserved checkout.
He would most likely identify the view name by finding checkouts. Once the view name is found, he would try to find the view's UUID
Eg : cleartool lsview -long viewname
The UUID is usually of the form dfaa0744.56c611d4.b0da.00:b0:d0:20:d5:9d
Once the UUID is found, one can completely remove the defunct view from the system using rmview.
Eg : cleartool rmview -r -uuid dfaa0744.56c611d4.b0da.00:b0:d0:20:d5:9d
Now since the view associated with the reserved checkout gets deleted, the issue gets solved and the user can smoothly checkout. Hurray!
No comments:
Post a Comment