Cleartool 命令:获取符号链接路径和目标
Cleartool command: Get symlink path and target
我希望能够识别 clearcase 中的符号链接。我正在从包含元素版本的 clearcase 扩展路径的 oracle 数据库生成查询。它适用于实际元素,但对于符号链接,查询返回目标(和属性)的扩展路径名。
是否可以更改 describe 命令的行为?
或者至少从扩展路径中识别 VOB 符号链接?
请注意,oracle 数据库应该不包含符号链接。
来自“About symbolic links and version-extended pathnames”
Symbolic links are not versioned and, hence, do not have version-extended pathnames.
Symlinks are not catalogued in the version history of the element.
They serve only as a pointer to a target version, and allow you to create multiple access points to a single version.
The symlink can be described (cleartool describe
) with a simple pathname, as follows:
%>cleartool describe -long yoda
symbolic link "yoda" -> ../yoda.txt
The actual text file that the symlink points to can be described with a simple pathname or using its version-extended pathname:
%>cleartool describe -long yoda.txt@@/main/br1/br2/1
version "yoda.txt@@/main/br1/br2/1"
我希望能够识别 clearcase 中的符号链接。我正在从包含元素版本的 clearcase 扩展路径的 oracle 数据库生成查询。它适用于实际元素,但对于符号链接,查询返回目标(和属性)的扩展路径名。
是否可以更改 describe 命令的行为?
或者至少从扩展路径中识别 VOB 符号链接?
请注意,oracle 数据库应该不包含符号链接。
来自“About symbolic links and version-extended pathnames”
Symbolic links are not versioned and, hence, do not have version-extended pathnames.
Symlinks are not catalogued in the version history of the element.
They serve only as a pointer to a target version, and allow you to create multiple access points to a single version.The symlink can be described (
cleartool describe
) with a simple pathname, as follows:
%>cleartool describe -long yoda
symbolic link "yoda" -> ../yoda.txt
The actual text file that the symlink points to can be described with a simple pathname or using its version-extended pathname:
%>cleartool describe -long yoda.txt@@/main/br1/br2/1
version "yoda.txt@@/main/br1/br2/1"