unable to perform delivery on clearcase because of

2019-06-06 00:50发布

I have having an issue in clearcase delivery. There are some files that are checked out from a snapshot view and the view has been removed. I am trying to deliver from a dynamic view in unix. Since I can see those files checked out in the activity, is there a way to check in those files and proceed the delivery operation?

1条回答
姐就是有狂的资本
2楼-- · 2019-06-06 01:35

You can simply remove completely the view: that will cancel the checkout state of those files, and will allow you to resume the deliver.

See "ClearCase: Is it possible to cancel checkouts not made from your own view?".

cleartool rmview -force -uuid (uuid_of_the_view) -vob \aVob

You can find the uuid of the view by doing a cleartool descr -l vob:\aVob.


For snapshot views, you can regenerate the .view.dat and unco the file that way, with "Uncheckout an element from a snapshot view when the view root directory is not accessible"

  • List the checkouts to identify the view and checkout information
  • Create a new temporary view root directory
  • Regenerate the view root to the new temporary directory

    ccperl "C:\Program Files\Rational\ClearCase\etc\utils\regen_view_dot_dat.pl\" -tag <view-tag> <tmp-dir>
    
  • Cancel the checkout

    cleartool unco -rm <tmp-dir>\<vob>\<path>\<checkedout-file>
    
  • Remove the temporary directory

    rmdir /S/Q <tmp-dir>
    
查看更多
登录 后发表回答