How to recover checked out file in Clearcase?

落花浮王杯 提交于 2019-12-10 11:08:43

问题


Let's say there is a file called myfile.java. I checked it out and I was working on it. Before checking it in, I have lost my hard drive and I had to get a new hard drive.

Next time that I want to check out the file, it says that I can not check out. It was already checked out in the old view which has gone. I have to mention that I am using the option "re-use development stream option".

Is there anything I can do to be able to checkout the file once again?


回答1:


You can completely unregister your old view in the vob of that file: that will remove the "checkout" status associated to that file.

cleartool mount \myVob
cd m:\mynewView\myVob
cleartool rmview -force -uuid old_view_uuid

To find the uuid of your old view, try a:

cleartool descr -l vob:\myVob

And look for a view storage path including your old view name in it.



来源:https://stackoverflow.com/questions/20639345/how-to-recover-checked-out-file-in-clearcase

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