Clearcase重定位命令 [英] Clearcase Relocation command

查看:88
本文介绍了Clearcase重定位命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要将某些文件重定位到ClearCase中的新VOB。

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

示例:

VOB1/folder1/folder2/file1

VOB2/folder1/folder2/



VOB2中的

folder1 folder2 是新创建的文件夹。

folder1 and folder2 in VOB2 are newly created folders.

我看不到 folder1 folder2 的标签

标签是否可以通过任何方式复制到 folder1 和<$ c $从VOB1到VOB2中的c> folder2 ?

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

推荐答案

重定位文件(提到中的上一个问题)表示重定位将仅涉及附加到该文件的数据和元数据,而不涉及其父文件

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.


我在目标VOB中创建了一个与源VOB同名的新文件夹和子文件夹

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

您实际上可以尝试移动 folder1 / folder2 / file1 而无需创建 folder1 / folder2 首先在目标Vob中,然后查看是否创建了 folder1 / folder2 及其相关标签。

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.

如果这不起作用,并且您的重定位仅用于文件,则最好手动粘贴标签( mklabel 为其父文件夹。

请参阅 需要脚本/实用工具来标记MOST(如果不是全部),则标记给定路径的ClearCase元素

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".

这篇关于Clearcase重定位命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆