如何使用文件夹A的最新版本将文件从文件夹A导入到文件夹B [英] How to import the files from folder A to folder B with latest version of folder A

查看:102
本文介绍了如何使用文件夹A的最新版本将文件从文件夹A导入到文件夹B的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在clearcase v9.0.1.5中,我需要使用最新版本的A将文件从文件夹A导入新文件夹B。

In clearcase v9.0.1.5, I need to import files from folder A to new folder B with the latest version of A.

含义:ClearCase版本B中的文件数量应与A相同:

如果A中的文件版本为4,则导入后该文件的版本应在B中显示为4。

Meaning: the ClearCase versions of files in B should be same as that of A:
if file version in A is 4 then after import the version of that file should show as 4 in B.

是否有可能执行此操作?

Is there any possibility to perform this ?

推荐答案

如果文件夹A和B在同一VOB中,您可以将文件硬链接在一起,但是在动态视图中结帐会遇到问题。您还可以创建使用符号链接。

If folders A and B are in the same VOB, you can hard link the files together, but that will have issues with checkouts in dynamic views. You could also create use symlinks.

如果A和B在单独的NON-UCM VOB中,则可以使用clearexport_ccase和clearimport复制元素。

If A and B are in separate NON-UCM VOBs,you can use clearexport_ccase and clearimport to copy the elements.

非UCM VOB的另一个选项是使用relocate -update复制文件。这将完全重定位已重定位的元素,直至其OID。如果将A和B用于同一审核的内部版本中,则您可能不想这样做,因为某些目录OID也可能会被克隆,并且目录元素OID在构建审核中大量使用。

Another option for non UCM VOBs is to use relocate -update to copy the files. This clones the relocated elements completely, down to their OIDs. If A and B will be used in the same audited build, you probably dont want to do this as some directory OIDs may get cloned too, and directory element OIDs are used heavily in build audits.

对于UCM组件VOBS,您可能必须使用脚本进行DIY。 清除工具从-签入可能会在这里有所帮助。

For UCM component VOBS, you may have to DIY it using scripts. "Cleartool checkin -from" may help here.

这篇关于如何使用文件夹A的最新版本将文件从文件夹A导入到文件夹B的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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