Clearcase get file from repository

拜拜、爱过 提交于 2019-12-08 07:27:00

问题


I have file path in ClearCase repository: DWH/MSL/MAPP/META/SP.sql@@/main/10.

I have repository https path which is used for Remote Client:

http://clearcase.net:12080/TeamWeb/services/Team

I need to download the file from the repository. How can I do this?
I've tried to read CC manuals and cleartool manuals but unfortunately it's still not clear.


回答1:


That looks like a CCRC url (ClearCase Remote Client: see the feature comparison matrix with ClearCase).

That means you need to create a web view first.
See "About ClearCase views": if you are using ClearCase 8.x, you also can define dynamic views (if you have the full ClearCase client installed on your post).

Once that view loaded (for web views), you will get the file you want on your disk, provided your config spec does select the version you mention.

For ClearCase 8, you would use in a script the rcleartool API, as mentioned in "How to use CCRC to get prievous file version?".
That allows for using rcleartool get in roder to get directly a version of a file, from a specific view (meaning you still need to create a view first).



来源:https://stackoverflow.com/questions/23105722/clearcase-get-file-from-repository

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