问题
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
Is there any way to move/relocate the elements to the new components in the new VOB and retain the elements' history?
回答1:
The command to do that is cleartool relocate, and its man page explicitly mentions:
Note: You cannot use relocate in a UCM component VOB or PVOB. Before you perform any relocate operation, read the relocate reference page.
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.
来源:https://stackoverflow.com/questions/11024360/keep-element-history-when-relocating-elements-between-ucm-components