Ccweb Error Unable To Cancel Checkout For
Contents |
-uuid; uuid; undo checkout; remove reference; clearcase undo checkout in another view VOB holds objects from the following views; already checked out clearcase undo checkout from deleted view to view; deleted; snapshot; checked out; checked-out; removed; undo; dynamic; 1122515 Technote (FAQ) Question
Cleartool Rmview
How do you remove IBM Rational ClearCase checkout references that are cataloged in the VOB database for removed or inaccessible view using the "rmview"
Cleartool Unreserve
command? Cause Any one the following symptoms may be experienced: Attempts to perform a checkout results in the following error:
%cleartool co foo.c
cleartool: Error: Element "foo.c" is already checked out to view "
"Cannot_generate_name_for_checkout_in_view:.."
You may also see errors such as the following if the view storage directory has been renamed: Attempt to checkout an element which was checked out to a view whose view storage director name was changed reports the error:
cleartool: Error: Branch "\main" of element is checked out reserved by view checked-out_ref_test_sview ("V357978ms2:c:\ClearCase_Storage\views\user1\tkajiwara\checked-out_ref_test_sview.vws").
cleartool: Error: Unable to check out "a.txt". After checking out an element to a snapshot view and renaming the view storage directory, trying to unco the element from the snapshot view reports an error:
C:\SnapshotViews\checked-out_ref_test_sview\vob03\a>cleartool unco a.txt
cleartool: Error: Operation "view_get_prop(VIEW_PROP_WEBVIEW)" failed: view storage directory or control files unavailable -- additional information may be present in the view server host's view log.
The checkout may be failing because the file is already checked out reserved to a vie
rmelem; remove checkout from lost+found; checkout in lost+found; cleartool: Error: No branch of element is
Cleartool Error Some View References Are Still Left In The Vob
checked out to view; 1259118 Technote (troubleshooting) Problem(Abstract) This technote details clearcase remove view how to remove elements from the lost+found directory when there are outstanding checkouts in an IBM clearcase checked out but removed Rational ClearCase view. Symptom When working in a ClearCase VOB, if a directory element is removed that still contains elements with checked out versions, then those checkouts http://www.ibm.com/support/docview.wss?uid=swg21122515 are moved to the lost+found directory: Removing a directory that contains at least one checked out element: %>cleartool rmelem dir2 cleartool: Warning: Object "film.txt" no longer referenced. cleartool: Warning: Moving object to vob lost+found directory as film.txt.d541d0371cb24d37ad741c7fa9b7e83a". cleartool: Warning: Object "mydoc2.txt" no longer referenced. cleartool: Warning: Moving object to vob lost+found directory as http://www.ibm.com/support/docview.wss?uid=swg21259118 "mydoc2.txt.bff49e6f10c548b088465a966715e0df". Removed element "dir2". Listing the contents of lost+found shows: view\vob\lost+found>cleartool ls film.txt.d541d0371cb24d37ad741c7fa9b7e83a@@\main\3 Rule: \main\LATEST mydoc2.txt.bff49e6f10c548b088465a966715e0df@@\main\1 Rule: \main\LATEST Attempting to remove the element with checkedout versions fails with: view\vob\lost+found>cleartool rmelem film.txt.d541d0371cb24d37ad741c7fa9b7e83a cleartool: Error: Can't delete element with checked out versions. cleartool: Error: Unable to remove element "film.txt.d541d0371cb24d37ad741c7fa9b7e83a". Listing checkouts in the lost+found shows: view\vob\lost+found>cleartool lsco --04-26T19:43 admin checkout version "film.txt.d541d0371cb24d37ad741c7fa9b7e83a" from \main\3 (reserved) Cause This is expected behavior. In ClearCase, elements with checkedout versions cannot be removed; hence; the checkouts must be cancelled or checked in before the element can be removed. The checkout can be cancelled successfully from the view that it originated in using cleartool unco, but if that view is no longer accessible, then the attempt to undo the checkout will fail with: view\vob\lost+found>cleartool unco film.txt.d541d0371cb24d37ad741c7fa9b7e83a cleartool: Error: No branch of element is checked out to view Ibm-d15f3483123:C:\ClearCase_Storage\views\ap_vu.vws". cleartool: Error: Unable to find checked out version for film.txt.d541d0371cb24d37ad741c7fa9b7e83a". Resolving the
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more http://stackoverflow.com/questions/24887949/how-to-undo-a-checkout-that-has-no-activity-attached-to-it about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up How to undo a checkout that has no activity attached to it up vote 1 down vote favorite 1 I have a quite weird problem here with UCM-ClearCase. unable to A user tried to deliver from his dev-stream to the int-stream of the project. For some reason he decided that he needed to cancel the delivery and executed "deliver -cancel". According to him this did not work the first time (although he does not remember the error message) but the second time he issued the command the delivery was actually canceled. The problem now is that he has a checkout in his int-view (!) that does not have clearcase undo checkout an activity attached to it. The activity of the delivery was deleted (obviously during the cancellation of the delivery). If he tries to undo the checkout in the int-stream (by using "unco") ClearCase outputs a warning that he needs to set an activity and a view context in order to undo the checkout. Setting some activity (and a view context) is no good, the same error message appears. EDIT: The exact error message given by ClearCase is: cleartool: Error: To operate on UCM branch, must be set to an activity and a UCM view. cleartool: Error: Unable to cancel checkout for "PathToFolder". The checked out element is only a folder and no other elements (neither files nor folders) are checked out END_OF_EDIT Creating a new activity in order to attach it to the checkout did not help either as I did not find a command to attach an activity to a already checked out folder. According to IBM we could remove the view and all its references and then re-create it which should solve the issue of the checkout. I am kind of hesitant to do so without being sure that there is no other way to handle the situation (especially as the above-mentioned link states that there might be cases when removing the view does not really help). Is anyone aware of a different solution for this kind