Search code examples
clearcase

How do I delete check-outs from a particular view in clearcase?


I have Rational ClearCase v7.1.2.13

I need to delete certain checkouts from a view as these check-outs are reserved and the user has gone for a vacation.

Please help me.


Solution

  • The easiest to do is to "unregister" the user's checkouts:

    cleartool descr -l vob:\myVob
    # get the uuid of the user's view from the description of the vob
    
    cleartool mount \myVob
    cd m:\mynewView\myVob
    cleartool rmview -force -uuid old_view_uuid
    

    That will not modify anything in the user's views: the files are still being modified, but they won't be considered as checked out.
    Instead, they will be "hijacked" (identified in snapshot view) or "eclipsed" (dynamic view).

    The other option (put a reserved checkout as unreserved) is rarely possible, as it require access to the view as well as elevated privileges.