unable to perform delivery on clearcase because of checked out file in snapshot view?

╄→гoц情女王★ 提交于 2019-12-08 07:57:48

问题


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:


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>
    


来源:https://stackoverflow.com/questions/18387634/unable-to-perform-delivery-on-clearcase-because-of-checked-out-file-in-snapshot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!