在UCM组件之间重定位元素时保留元素历史记录 [英] Keep element history when relocating elements between UCM components
问题描述
由于各种可怕但必要的原因,我们的项目需要将一个UCM VOB拆分为多个UCM VOB。当前,我们具有以下VOB /组件结构:
For a variety of terrible yet neccessary reasons, our project needs to split a UCM VOB into multiple UCM VOBs. We currently have the follow VOB/component structure:
/vobs/companyA/teamA/dev
/vobs/companyA/teamB/dev
/vobs/companyB/teamC/dev
我们正在重组为以下结构:
We are restructuring into the following structure:
/vobs/teamA/dev
/vobs/teamB/dev
/vobs/teamC/dev
是否有任何方法可以将元素移动/重新定位到新的VOB中的新组件和保留元素的历史吗?
Is there any way to move/relocate the elements to the new components in the new VOB and retain the elements' history?
推荐答案
要做的命令是 cleartool relocate
,其手册页明确提到:
The command to do that is cleartool relocate
, and its man page explicitly mentions:
注意:您不能在UCM组件VOB或PVOB中使用重定位。在执行任何重定位操作之前,请阅读重定位参考页面。
Note: You cannot use relocate in a UCM component VOB or PVOB. Before you perform any relocate operation, read the relocate reference page.
因此,最好选择最后一个有意义的基准,并选择'clearfsimport '它们的内容(至少是正确的子集)在新的vob中,以便重新创建这些基准。
So it is best to select the last meaningful baselines, and 'clearfsimport' their content (at least the right subset) in the new vobs, in order to recreate those baselines.
这篇关于在UCM组件之间重定位元素时保留元素历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!