如何在Clearcase中恢复检出的文件?
假设有一个名为myfile.java的文件。我检查了一下,我正在努力。在签入之前,我已经丢失了硬盘驱动器,并且必须购买新的硬盘驱动器。
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?
您可以在该文件的VOB中完全注销旧视图:这将删除与该视图相关的签出状态
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
要查找旧视图的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.