如何取消ClearCase交付操作

时间:2016-02-01 19:54:42

标签: version-control clearcase clearcase-remote-client

所以我正在尝试完成一些ClearCase的工作。我对Clearcase非常陌生,记住这一点 - 我基本上一直在磕磕绊绊地让它工作到现在为止。

我正在使用Clearcase Remote Client,我正在尝试删除其中一个视图,但收到以下错误:

CRVAP0087E CCRC command 'rmview' failed: View path/to/int/view has a UCM deliver or rebase operation in progress.
Please complete or cancel the UCM operation before removing this view.

我试图忽略这一点,但是当我尝试提供我在遇到这个错误后制作的另一个视图时,我收到了这个错误:

Unable to prepare the integration view "bluhman_iOSTablet_6.4.2_int" for deliver: error detected by ClearCase subsystem

ClearCase CM Server: Error: View "bluhman_iOSTablet_6.4.2_int" is set activity to activity
"deliver.bluhman_iOSTablet_6.4.2_2.20150929.122347" which is currently involved in an
active deliver or rebase operation.  The set activity of this view may not be
changed until the operation has completed.
ClearCase CM Server: Error: Resume, complete or cancel the operation in progress in view "bluhman_iOSTablet_6.4.2_int".
View "bluhman_iOSTablet_6.4.2_int" cannot be used in the current deliver operation.
ClearCase CM Server: Error: Unable to prepare view common.
Unable to prepare the integration view "bluhman_iOSTablet_6.4.2_int" for deliver: error detected by ClearCase subsystem

ClearCase CM Server: Error: View "bluhman_iOSTablet_6.4.2_int" is set activity to activity
"deliver.bluhman_iOSTablet_6.4.2_2.20150929.122347" which is currently involved in an
active deliver or rebase operation.  The set activity of this view may not be
changed until the operation has completed.
ClearCase CM Server: Error: Resume, complete or cancel the operation in progress in view "bluhman_iOSTablet_6.4.2_int".
View "bluhman_iOSTablet_6.4.2_int" cannot be used in the current deliver operation.
ClearCase CM Server: Error: Unable to prepare view common.

所以看起来当我在开始交付之前遇到所有这些交付错误时,它确实搞砸了。但是,我不确定是什么搞砸了或者如何解决这种情况,正如我所说的,我对Clearcase来说非常新,并且几乎没有绊倒这个。

我没有使用任何类型的控制台来执行此操作,而且我实际上使用的内容非常有限 - 我认为远程客户端是我获得访问权限以便完成所有这些操作,所以如果我能以某种方式在远程客户端中解决这个问题会很棒。

1 个答案:

答案 0 :(得分:1)

您的问题中缺少一些细节,但这是我的解释:

第一个问题是您正在尝试删除传递或rebase中涉及的视图(path / to / int / view)。您忽略了错误并创建了一个不同的视图(可能是源视图)并尝试了另一个传递,这也是返回错误:

Unable to prepare the integration view "bluhman_iOSTablet_6.4.2_int" 
for deliver: error detected by ClearCase subsystem

ClearCase CM Server: Error: View "bluhman_iOSTablet_6.4.2_int" is set to activity
deliver.bluhman_iOSTablet_6.4.2_2.20150929.122347"
which is currently involved in an active deliver or rebase operation.

我的猜测是你使用与原始传递相同的目标视图。从第一个视图开始,现有交付仍在进行中的最佳追索是恢复从该视图向同一目标交付操作,或撤消它。

如果使用GUI,它应检测正在进行的传递并提示您恢复/取消(撤消)。如果使用command linecleartool deliver -cancel -stream ...。您还可以使用clear deliver -status -stream ...获取状态。

取消或完成交付后,您将能够删除该视图。