从快照视图看不到的clearcase符号链接文件

从快照视图看不到的clearcase符号链接文件

本文介绍了从快照视图看不到的clearcase符号链接文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个符号链接(见下文),该符号链接来自另一个VOB( VOB_II )的版本控制文件,并且该文件在动态视图中可见,而在动态视图中则不可见

I have created a symbolic link (see below) to a version controlled file from a different vob (VOB_II) and the file is visible from a dynamic view whereas it’s not visible from the UCM snapshot view.

A.txt --> ..\..\..\VOB_II\SampleDir\A.txt

我有以下选择和加载规则。

I have the following selection and load rules.

element \VOB_II\SampleDir\A.txt ...\branch1\LATEST
load \VOB_II\ SampleDir

为什么文件是没有加载到快照视图中?我不知道怎么了。

Any ideas why the file is not getting loaded in the snapshot view? I could not figure out what’s wrong. Any help or inputs are much appreciated.

推荐答案

首先,执行 cleartool ls C:到我的视图\VOB_II\SampleDir

状态可以解释为什么不加载元素。

The status can explain why the element is not loaded.

通常,您需要选择父文件夹( SampleDir Vob_II 之前可以选择 A.txt

Typically, you need selections rules that selects also the parent folders (SampleDir and Vob_II) before being able to select A.txt.

我建议至少添加 * * / main / LATEST ()

element \VOB_II\SampleDir\A.txt ...\branch1\LATEST
element * /main/LATEST
load \VOB_II\ SampleDir






第二,看起来您正在尝试加载实际的A.txt( VOB_II\SampleDir\A.txt ),而不是 A.txt 指向 .. \ ..\..\VOB_II\SampleDir\A.txt

我不知道该符号链接 A.txt 。在 Vob_I

I don't know where is that symbolic link A.txt. In Vob_I?

第三栏中,请参见

Third, see "Symbolic links in snapshot views"

在加载快照视图的上下文中,链接被视为:

In the context of loading a snapshot view, links are treated as:

遵循硬VOB链接;

如果无法解析VOB链接,则会导致错误。

如果可能,可以解析非VOB链接,但如果没有,则不会出错。他们无法解决。

Hard VOB links are followed; symbolic links are copy-created.
If a VOB link cannot be resolved, an error results.
Non-VOB links are resolved, if possible, but it is not an error if they cannot be resolved.

从运行 Windows软件的Rational ClearCase主机创建的快照视图不支持链接。

VOB符号链接行为是可以通过以下方式近似:

Snapshot views created from a Rational ClearCase host running Windows software do not support links.
VOB symbolic link behavior is approximated in the following ways:

如果加载规则选择了符号链接,则将链接目标复制到链接路径的视图中。

If a load rule selects a symbolic link, the link target is copied into the view at the link path.

这篇关于从快照视图看不到的clearcase符号链接文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!