且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么 Perl 找不到我在 ClearCase 中的文件?

更新时间:2023-11-16 13:14:58

Clearcase 将其文件"存储为目录

Clearcase stores its 'files' as directories

Aric 想告诉你的是 ClearCase 使用的扩展路径名,扩展"是因为它用版本路径扩展了文件名.

What Aric is trying to tell you is that ClearCase uses extended path names, "extended" because it extends the file name with version path.

因此在动态视图中,可以描述任何文件以显示其版本控制路径:

So in a dynamic view, any file can be described to reveal its versioning path:

$ ct ls
myFile
$ ct descr -l myFile
myFile@@/main/3

在动态视图中,您实际上可以探索文件的版本(因此称为文件作为目录")部分

In a dynamic view, you can actually explore the versions of a file (hence the "file as directories") part

$ cd myFile@@
$ ls
main
$ cd main
$ ls
3
$ cat 3
... // content of third version of myFile

现在,如果在这里使用 ClearQuest(问题跟踪系统),它将引用 ClearCase 的活动(更改文件集集).

Now, if ClearQuest (the issue tracking system) were used here, it would reference activities (change set of file set) of ClearCase.

但是对于ClearCase,一个版本的文件(被ClearQuest引用或通过其他方式获得)可以很好地在动态视图中被删除(实际上是rmnamed").
这意味着文件可能会被 ClearQuest 或某些 ClearCase 活动引用,但不能在动态视图中通过 ClearCase 直接看到.
但是,它的扩展路径名仍然可以在同一个动态视图中访问.

But with ClearCase, a version of a file (referenced by ClearQuest or obtained through another mean) can very well has been deleted in the dynamic view ("rmnamed" actually).
Meaning a file may be referenced by ClearQuest or by some ClearCase activity, but not be visible directly with ClearCase in the dynamic view.
However, its extended path name would still be accessible in that same dynamic view.