ClearCase的7.1.2,VOB分割 [英] Clearcase 7.1.2, VOB Splitting

查看:120
本文介绍了ClearCase的7.1.2,VOB分割的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有VOB的一个当前设置,使得源$ C ​​$ c和文件驻留在同一VOB。
为了减少该VOB下载时间我们现在要的文件移动到新的VOB,这样,只有code部留在旧的VOB

We have a current set up of VOB such that source code and documents reside in the same VOB. To reduce the VOB download time we now want to move the documents to a new VOB, so that only the code part remain in the old VOB.

因为有很多文件夹和文件,其无法手动重新定位每个文件/文件夹。

Since there are lot of folders and files, its not possible to manually relocate each file/folder.

要做到这一点,我们需要编写一个脚本,将其扩展检测文件类型和移动文件类型如.doc,.PDF,.TXT到新的VOB。

To do this, we need to write a script which will detect file types by their extension and move file types such as .doc,.pdf, .txt to the new VOB.

VOB服务器是Windows的Windows 2008 R2企业版。

VOB server is Windows Windows 2008 R2 Enterprise edition.

我是新手!
有人可以帮助我的脚本?

I'm a novice! Can someone help me out with the script?

谢谢
Nush

Thanks Nush

推荐答案

该过程将涉及<一个href=\"https://publib.boulder.ibm.com/infocenter/cchelp/v7r0m1/topic/com.ibm.rational.clearcase.cc_ref.doc/topics/ct_relocate.htm\"相对=nofollow> cleartool移居 :详见<一个href=\"http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearcase.books.cc_admin.doc/vob-relo-mv.htm\"相对=nofollow>元素搬迁到另一个VOB 。

最好的做法是:


    你想一个文件夹中搬迁
  • 组中的所有要素权( cleartool移动

  • remocate该文件夹

这是最好的,如果你要分割的是干净集团是一个文件夹结构。

It is best if what you want to split is cleanly group is one folder structure.

如果您正在使用ClearCase UCM虽然注意搬迁是行不通的。结果
请参见
这篇文章

Note that relocate wouldn't work if you are using ClearCase UCM though.
See this article:

这样做的原因的限制是不可改变的基线:如果一个元件一直处于基准线,它不能被移动到另一个地方;基线需要知道到哪里寻找它。因此,一个UCM元素真的不能重新定位。

The reason for this restriction is immutable baselines: if an element has ever been in a baseline, it can never be moved to another place; the baseline needs to know where to look for it. So a UCM element really can't be relocated.

这篇关于ClearCase的7.1.2,VOB分割的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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