Clearcase 7.1.2, VOB Splitting

与世无争的帅哥 提交于 2019-12-30 12:20:49

问题


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.

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 server is Windows Windows 2008 R2 Enterprise edition.

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

Thanks Nush


回答1:


The process would involve cleartool relocate: see "Relocating elements to another VOB".

The best practice is to:

  • group all the right elements you want to relocate in one folder (cleartool move)
  • remocate that folder

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

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

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.



来源:https://stackoverflow.com/questions/24650044/clearcase-7-1-2-vob-splitting

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