Provide version to independent files in clearcase

跟風遠走 提交于 2019-12-12 09:15:59

问题


I recently started usage of clear case tools for maintenance of code in better way. But after some days my "Company" forgot to take licence from IBM as result I cannot CHECK-IN my code into clearcase. To continue my coding i created a separate folder in other drive and copied code solution in that folder. I and my colleague modified around "9865" files of solution within "45" working days. Now a "Company" borrowed a licence for me and I able to access code clear case tool successfully.

Problem is:

How to check in my "9865" files into clearcase in better way?

I tried:

Copied all solution into Snapshot view folder location. but, all changed files are showing "hijack".


回答1:


The best way is to use clearfsimport: that will automatically checkout, and import your 9865 in one command.

Make sure to update your snapshot view first, in order to restore its original content.
Then clearfsimport those files.

clearfsimport -preview -rec -nset /path/to/sourceDir\* </myview/VOB>

The clearfsimport command will detect the files added or modified, and do the checkouts for you.
If you are using an UCM view, set an activity first.

The source from where clearfsimport does that copy can be any regular folder.



来源:https://stackoverflow.com/questions/29467305/provide-version-to-independent-files-in-clearcase

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