ericyang0609 2008-7-21 18:07
怎么样强行remove view
Hello, 我的clearcase client机器上建立了一个view叫xxx_EMMS_PHASEII_4,这个view的.vws folder是D:\Shared\CCStorage\xxx_EMMS_PHASEII_4.vws, 后来不小心把xxx_EMMS_PHASEII_4.vws整个folder删掉了 :(
因为view xxx_EMMS_PHASEII_4包含reserved check-out files. 现在必须remove view xxx_EMMS_PHASEII_4.
View Tag: xxx_EMMS_PHASEII_4
OS: Windows
View attributes: snapshot,ucmview
Any comment is highly appreciated. Thanks a lot
bingan365 2008-7-22 08:31
cleartool endview -server viewtag
cleartool rmtag -view -all viewtag
cleartool unregister -view viewstorage
视图存储vws你已经删除了
可爱的珊珊 2008-7-22 10:31
强行删除view
cleartool lsview -l viewtag(获取view UUID,第四、五步使用)
cleartool rmtag -view viewtag
cleartool unregister -view -uuid uuid(viewstorage被删除)
cleartool rmviwe -uuid uuid(视图中存在Chckout)
ericyang0609 2008-7-22 11:34
Any other solutions?
Hi bingan365/可爱的珊珊,
Many thanks for your prompt reply.
I haven't tried the script yet (need to ask clearcase admin for help since i have no right). The problem is that view xxx_EMMS_PHASEII_4 contains some reserved check-out files. It blocks the rebase from mainstream to another stream. I just want to perform the rebase.
Any other solution except removing the view?
I want to consolidate more solutions for the admin's reference. Thanks for your kindly help.
rdcwayx 2008-7-22 21:10
解决这个问题有两个方法。
熟练的话,用cleartool unreserve命令。
否则就用cleartool rmview -force -all -uuid UUID
bingan365 2008-7-23 09:01
“You can also change reserved checkouts in that view to unreserved. There is no way to cancel checkouts in an inaccessible view.”
ericyang0609 2008-7-24 12:27
problem was solved, thanks all =) ::em62::