2016-06-24 23 views
1

不知何故,我在UCM中的一個結賬沒有附加任何活動,當我嘗試撤銷結賬時,它說cleartool:錯誤:要在UCM分支上操作,必須設置爲活動和UCM視圖。有沒有人遇到過這種情況?請指教。 根據IBM的說法,我們可以刪除視圖及其所有引用,然後重新創建它以解決結帳問題。撤消沒有附加任何活動的結帳

有沒有辦法找到出現問題的地方以及解決問題的建議?

回答

0

According to IBM we could remove the view and all its references and then re-create it which should solve the issue of the checkout.

是的,這是the nuke-view approach

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

務請注意,將取消由該視圖中產生任何結賬。

Is there a way to find what has gone wrong and any suggestions to fix the issue?

也許活動以某種方式被刪除,留下檢出版本「孤兒」(就活動而言,就是這樣)。

例如vob(vob:\avob)上的cleartool lshistory -minor或文件的元素(path/to/[email protected]@)可能會揭示一些事件,可以揭示這種情況。