涉及多个元素的 ClearCase 路径名
ClearCase pathnames involving more than one element
我想了解是什么让 ClearCase 创建了这样的路径(不止一个 @@):
\TUNE\Integration\XmlFiles\PM_Content@@\main\integ_mp1601\CommunityLink.png@@\main\integ_mp1511x
而不是更典型的(单@@):
\TUNE\Integration\XmlFiles\PM_Content\CommunityLink.png@@\main\integ_mp1600x
我似乎无法控制它,我也不是很清楚为什么 CC 会这样做。当它发生时,我似乎无法“说服”它使用更简单的格式。
首先,一些背景知识:
'@@
' 链接到 dynamic views
你可以看到这个概念version extended path: using a pathname_ccase
syntax,你可以在相对或完整路径名的末尾添加字符,将其变成VOB-extended路径名.
VOB-extended 指定元素版本的路径名是最常用的;它们被称为 version-extended 路径名.
/vobs/proj/foo.c@@/main/motif/4
这意味着您可以:
想法是:在动态视图中,您可以通过扩展路径名访问(读取其内容)任何版本的文件。
现在,为什么要使用多个“@@
”?
文档添加:
This symbol is required to effect a switch from the standard file/directory
namespace to the extended element/branch/version
namespace.
There are two equivalent ways to think of @@
:
- When appended to the name of any element, the extended naming symbol turns off transparency (automatic version-selection).
Thus, you must specify one of the element's versions explicitly.
- The extended naming symbol is part of an element's official name.
For example, foo.c
is the name of a version (the particular version that appears in the view); foo.c@@
is the name of the element itself.
因此:
TUNE\Integration\XmlFiles\PM_Content@@\main\integ_mp1601\CommunityLink.png@@\main\integ_mp1511x
你有:
PM_Content@@
元素(文件夹)的名称 PM_Content
其版本 \main\integ_mp1601
CommunityLink.png@@
元素名称 (gile) CommunityLink.png
其版本 \main\integ_mp1511x
当视图中可见的当前 PM_Content
文件夹不再列出 CommunityLink.png
(这是 deleted/rmname 时):
- 您需要 select 正确的文件夹版本(列出文件)
- 然后您可以访问您想要的任何版本的文件
我想了解是什么让 ClearCase 创建了这样的路径(不止一个 @@):
\TUNE\Integration\XmlFiles\PM_Content@@\main\integ_mp1601\CommunityLink.png@@\main\integ_mp1511x
而不是更典型的(单@@):
\TUNE\Integration\XmlFiles\PM_Content\CommunityLink.png@@\main\integ_mp1600x
我似乎无法控制它,我也不是很清楚为什么 CC 会这样做。当它发生时,我似乎无法“说服”它使用更简单的格式。
首先,一些背景知识:
'@@
' 链接到 dynamic views
你可以看到这个概念version extended path: using a pathname_ccase
syntax,你可以在相对或完整路径名的末尾添加字符,将其变成VOB-extended路径名.
VOB-extended 指定元素版本的路径名是最常用的;它们被称为 version-extended 路径名.
/vobs/proj/foo.c@@/main/motif/4
这意味着您可以:
想法是:在动态视图中,您可以通过扩展路径名访问(读取其内容)任何版本的文件。
现在,为什么要使用多个“@@
”?
文档添加:
This symbol is required to effect a switch from the standard
file/directory
namespace to the extendedelement/branch/version
namespace.There are two equivalent ways to think of
@@
:
- When appended to the name of any element, the extended naming symbol turns off transparency (automatic version-selection).
Thus, you must specify one of the element's versions explicitly.- The extended naming symbol is part of an element's official name.
For example,foo.c
is the name of a version (the particular version that appears in the view);foo.c@@
is the name of the element itself.
因此:
TUNE\Integration\XmlFiles\PM_Content@@\main\integ_mp1601\CommunityLink.png@@\main\integ_mp1511x
你有:
PM_Content@@
元素(文件夹)的名称PM_Content
其版本\main\integ_mp1601
CommunityLink.png@@
元素名称 (gile)CommunityLink.png
其版本\main\integ_mp1511x
当视图中可见的当前 PM_Content
文件夹不再列出 CommunityLink.png
(这是 deleted/rmname 时):
- 您需要 select 正确的文件夹版本(列出文件)
- 然后您可以访问您想要的任何版本的文件