如何在Clearcase中恢复检出的文件? [英] How to recover checked out file in Clearcase?

查看:132
本文介绍了如何在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.

这篇关于如何在Clearcase中恢复检出的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆