linux - Clearcase,如何更改工作目录 View ?

标签 linux clearcase

我使用的是 clearcase 版本 8.0.1.00。

Pwv 给我:

Working directory view: Core
Set view: ** NONE **

我想要这个:

Working directory view: Core64
Set view: ** NONE **

已经存在一个 Core64 View ,但是使用 setview 它给了我:

cleartool: Error: You cannot use the "setview" command with a snapshot view.

我在 BCPL/Core64/BCVOB/Admin/builds 路径下执行此操作。

最佳答案

因为 Core64 是一个 snapshot view ,您需要做的就是转到 (cd) 其根文件夹(可以是您决定创建它的任何位置)。
另见“Difference between Snapshot and Dynamic Views

然后 cleartool pwv 会给你 Core64。
它会在 Core64 View 的根文件夹的任何文件夹或子文件夹中执行此操作。但是 ClearCase 本身并不知道根文件夹在哪里
参见“How to find the view location in my Linux home dir”。
正如我在“Find local copy of files in snapshot view”中提到的:

The only link between your snapshot view and its root directory is the .view.dat hidden file which contains the uuid of the snapshot view.

注意:即使 Core64 是一个动态 View ,我还是建议不要使用 cleartool setview(但是动态 View 的完整路径查看:/view/Core64/vobs/aVob)。参见“working in /vobs/some/path versus /view/view-tag-name/vobs/some/path
同样,该路径在这里不正确,因为 Core64 是快照 View ,而 /view 是动态 View 的安装点。

关于linux - Clearcase,如何更改工作目录 View ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41597769/

相关文章:

linux - Bash 脚本为两个但相反的字符串测试返回 true

visual-studio-2010 - 删除未使用的源代码文件

command-line - 如何使用cleartool格式(-fmt)缩进多行clearcase注释

perforce - 我们可以在 perforce 中创建标签吗

clearcase - 如何撤消 ClearCase 远程客户端中的 checkin

linux - systemd-run 在使用 --setenv 时不设置环境变量

c - X509_NAME_get_text_by_NID 返回带有数字的 CN 作为文本

c++ - 将终端设置为原始模式 : Character is displayed only after next key pressed

clearcase - 基础 ClearCase 中配置规范的详细信息

php - 无法执行此命令