2014-11-25 13 views
1

我有一个动态视图,我开始对该视图进行重新操作,然后在执行cleartool rebase -complete之前,我意外删除了该视图!取消或完成UCM中的重设操作

现在的问题是,我不能在连接到同一个流另一观点做一个rebase -completerebase -cancel
我怎样才能解决这个问题,我得到以下错误:

cleartool: Error: No tag in region for view "00000000.00000000.0000.00:00:00:00:00:00". 
cleartool: Error: Unable to start view "". 
cleartool: Error: Unable to cancel rebase. 

回答

1

随着cleartool rebase,你可以尝试用新的观点(这应该连接到相同的目的地流)

恢复运行
cleartool rebase -resume -reset -view aNewUCMView 

,将要使用的选项:

-reset -vie/w new-development-view_tag 

Resets the target view to a new development view.
Use this option should the target view become inaccessible.

正如在 “Can't resume or rebase stream on snapshot view on windows ”:

I would recommend for that new view to be a dynamic one, instead of a snapshot one: it is quicker to start and succeed/fail, and you can do multiple tests without waiting for the view to update itself (update being done only in a snapshot view).


如果你看到:

cleartool: Error: The view cannot be retargeted because 
the current integration activity "rebase.STREAM_NAME.20141124.170858" 
has checkouts. 

你将不得不采取不合作的一切(见第一“ How to find all checkedout files with ClearCase cleartool?”),然后输入:

cleartool rebase -cancel -reset -view aNewUCMView 
+0

旧CC 7.0.x需要相当多的操作才能取消重设(http://www-01.ibm.com/support/docview.wss?uid=swg21146614)。但如果你使用的是更新的ClearCase,你不应该诉诸于这些。 – VonC 2014-11-25 09:52:47

+0

我现在得到了这个:cleartool:错误:无法重新定位视图,因为当前集成活动“rebase.STREAM_NAME.20141124.170858”已签出。 – coffeMug 2014-11-25 10:00:01

+0

有没有一种方法可以使用一个命令全部取消我的结账? – coffeMug 2014-11-25 10:04:46