title: How to undo a checkout that has no activity attached to it
body: <p>I have a quite weird problem here with UCM-ClearCase.<br>
  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.<br><br>
  The problem now is that he has a checkout in his int-view (!) that does not have 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.<br><br>
  EDIT:<br>
  The exact error message given by ClearCase is: <br>
  cleartool: Error: To operate on UCM branch, must be set to an activity and a UCM view.<br>
  cleartool: Error: Unable to cancel checkout for "PathToFolder".<br><br>
  The checked out element is only a folder and no other elements (neither files nor folders) are checked out<br>
  END_OF_EDIT<br><br>
  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.<br><br>
  According to <a href="https://www-304.ibm.com/support/docview.wss?uid=swg21122515" rel="nofollow">IBM</a> we could remove the view and all its references and then re-create it which should solve the issue of the checkout.<br><br>
  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 of situation?<br><br>
  Best Regards</p>