如果已知视图的uuid,是否可以恢复已删除的ucm视图?

时间:2014-01-08 15:05:50

标签: clearcase clearcase-ucm

我尝试交付,但失败了,因为在另一个视图中,rebase正在进行中 此视图已被删除,因此如何通过在此已删除视图中设置并进一步继续来恢复视图并取消rebase操作。

cleartool: Error: Checkouts disallowed in view
: a rebase is active using view "52df8e4.77de11e3.97f8.00:01:80:93:35:66" on this stream.
cleartool: Error: Unable to check out "".
cleartool: Error: Unable to checkout the directory element 
 This may cause additional checkout and merge failures for files and directories contained within
cleartool: Error: Checkouts disallowed in view
: a rebase is active using view "52df8e4.77de11e3.97f8.00:01:80:93:35:66" on this stream.

1 个答案:

答案 0 :(得分:1)

您可以简单地将其复制到另一个视图:
请参阅“Reset Deliver to Another View”和cleartool deliver

cleartool deliver -resume -reset -to aNewView -stream aStream@\apvob -gmerge

你可能会看到:

cleartool: Error: The integration view cannot be retargeted because view "xxxx" has checkouts.
cleartool: Error: Unable to resume deliver.

在这种情况下,最好取消(除非您处于“完整”步骤)

cleartool deliver -cancel -stream stream:Stream@\apvob -reset -to aNewView 

您还可以使用(在动态视图中)取消旧已删除视图的所有签出

cd /path/to/aVob
cleartool rmview -force -uuid uuid_of_the_deleted_view

点击“ClearCase: How to Uncheckout Files in Shapshot View Deleted From File System”了解更多信息。