Clearcase Relocation command

主宰稳场 提交于 2019-12-23 01:24:45

问题


I'm relocating certain files to a new VOB in ClearCase.

example:

VOB1/folder1/folder2/file1

to

VOB2/folder1/folder2/

folder1 and folder2 in VOB2 are newly created folders.

I cannot see the labels of folder1 and folder2 applied in VOB1 in VOB2.

Is there any way the labels can be copied to folder1 and folder2 in VOB2 from VOB1?


回答1:


Relocating files (mentioned in your previous question) means the relocation will involves only data and metadata attached to that file, not to its parent folder.

When you relocate a file element, you relocate all of the element's data and metadata.

Any label attached to the parent folder won't be relocated in that process.

I have created a new folder and sub-folders in the destination VOB with the same name as source VOB

You actually can try to move folder1/folder2/file1 without creating folder1/folder2 first in the destination vob, and see if folder1/folder2 are created then, with their associated label.

If that doesn't work, and your relocation is for files only, it is best to apply the label manually (mklabel) for their parent folders.
See "Need script/utility to label MOST, if not all, ClearCase elements for a given path".



来源:https://stackoverflow.com/questions/25051495/clearcase-relocation-command

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!