如何找出ClearCase视图的加载文件在哪里? [英] How to find out where the loaded files of ClearCase views?

查看:90
本文介绍了如何找出ClearCase视图的加载文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们同时使用ClearCase UCM和base。我们面临的一个开放性问题之一是,如何通过给定的视图存储目录路径来查找快照视图的已加载文件所在的位置?

We use both ClearCase UCM and base. One of the open questions we have is, how to find out where the loaded files of snapshot views are reside, by a given path of view storage directory?

例如。我们有一个视图位于 C:\views\myview.vws

e.g. We have a view located in C:\views\myview.vws

有时等效的加载文件是在 C:\views\myview 目录中,但有时没有。我正在寻找一种找到它在哪里的方法。

Sometimes the equivalent loaded files are in C:\views\myview directory, but sometimes not. I'm looking for a way to find where it is.

我试图通过 cleartool lsview -l <​​/ $ c $找出它。 c>和 cleartool desc -没有帮助。
Windows注册表也不提供此答案(AFAIK)。

I tried to find it out by cleartool lsview -l and cleartool desc - does not help. The Windows registry does not provide this answer as either (AFAIK).

推荐答案

我确认没有信息实际存在快照视图(是否使用UCM)。

I confirm there is not information where a snapshot view (UCM or not) actually resides.

您需要认识到,只需复制 .view.dat (隐藏)文件即可,该文件位于任何快照视图的根目录,都将使目标目录(在其中复制 .view.dat 文件)成为快照视图的根目录。

You need to realize that by simply copying the .view.dat (hidden) file that you can see at the root directory of any of your snapshot view, you will make the destination directory (in which you copy the .view.dat file) the root of your snapshot view.

将其复制到三个不同的目录中,并且您将相同快照视图复制了三遍!

将其复制到 C:\Windows\System32 ,该目录将成为快照视图的根目录!

Copy it to three different directories, and you have the same snapshot view replicated three times!
Copy it to C:\Windows\System32, and that directory becomes a snapshot view root directory!

最好是要搜索那些 .view.dat (或Windows上的 view.dat ):这些文件包含uid(视图的唯一ID),使您可以将其与视图存储中的视图进行协调。

You best bet is to search for those .view.dat (or view.dat on Windows): those files contains the uid (unique id) of the view, allowing you to reconcile that with what you see within the view storage.

这篇关于如何找出ClearCase视图的加载文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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