比较时,Clearcase 快照视图路径无法解析

发布于 2024-09-30 05:15:30 字数 932 浏览 4 评论 0原文

我们在工作中使用 Clearcase,并且我设置了多个快照视图(在 Windows XP 上)。视图本身似乎工作得很好,但是每当我尝试比较快照视图中任何元素的任何版本时,我的 diff 工具(目前是 Beyond Compare)都会出现问题。具体来说,如果我与以前的版本进行比较,我会发现当前版本很棒,但以前的版本从未出现在 diff 工具中。

我稍微研究了一下这个问题,并查看了传递到 diff 工具的命令行,CC 传递了错误的文件路径。不起作用的文件的路径如下所示:

//server/path/to/viewstorage.vws/....

问题似乎出在用于访问找到该文件的 SMB 共享的 //server 中。

CC从哪里得到这条糟糕的路径?这是否与我的快照视图的设置方式有关(这已经工作了很长时间并且仍然可以在我同事的一些机器上工作)?有什么方法可以将此路径更改为 Windows 期望的典型 \\server 吗?

更新:

好的,所以我原来的问题是在家写的,并不完全准确。实际路径更像是这样的:

//server/path/to/vobstorage.vbs\....

回答 @koslorr问题,视图的全局路径是正确的(视图实际上存储在我机器上的公共共享上),但是对 vob 执行类似的命令(cleartool lsvob -l /my-working- vob) 确实表明 VOB 的全局路径不正确。可以用与视图标签类似的方式更新吗?这是我的 CC 管理员需要做的事情吗?

We use Clearcase at my work and I have several snapshot views setup (on Windows XP). The views themselves seem to work great, however whenever I try to compare any versions of any elements from my snapshot view, I have problems with my diff tool (currently Beyond Compare). Specifically, if I'm comparing with previous, I see the current version great, but the previous version never shows up in the diff tool.

I've looked into the problem a bit and looking at the command line that is getting passed into the diff tool, CC is passing in a bad path to the file. The path to the file that is not working looks something like this:

//server/path/to/viewstorage.vws/....

The problem appears to be in the //server used to access the SMB share where the file is found.

Where is CC getting this bad path from? Is this something specific to how my snapshot view is setup (this worked for a long time and still works on some of my co-worker's machines)? Is there any way to change this path to the typical \\server that Windows expects?

Update:

Ok, so my original question was written from home, and wasn't entirely accurate. The actual path is more like this:

//server/path/to/vobstorage.vbs\....

To answer @koslorr question, the global path for the view is correct (the view is actually stored on a public share on my machine), however doing the similar command for the vob (cleartool lsvob -l /my-working-vob) does show that the global path for the VOB is incorrect. Can this be updated in a similar way to the view tag? Is this something my CC admin is going to need to do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无戏配角 2024-10-07 05:15:30

检查您的视图全局路径

cleartool lsview -l <VIEW TAG>

使用全局路径是否采用正确的 \server... 形式

?如果不是,那么您可以将

cleartool mktag -view <VIEW TAG> -replace...

其更改为正确的形式。

cleartool man mktag 应该告诉你更多细节。

Check your view Global Path with

cleartool lsview -l <VIEW TAG>

Is the Global Path in the correct \server.... form?

If it is not, then you can use

cleartool mktag -view <VIEW TAG> -replace...

to change it to the correct form.

cleartool man mktag should tell you more in details.

因为看清所以看轻 2024-10-07 05:15:30

在快照视图路径中执行时,cleartool diff -pred myFile 会给您带来什么?

cd c:\path\to\my\snapshotView\myVob\path_to_myFile
cleartool diff -pred myFile

如果全局路径不正确,可能是因为:

What a cleartool diff -pred myFile gives you when executed in your snapshot view path?

cd c:\path\to\my\snapshotView\myVob\path_to_myFile
cleartool diff -pred myFile

If the global path is incorrect, it can be because of:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文