ClearCase

图形界面

xclearcase <options>

options:

  • -file <dir> 类似explorer的形式浏览目录dir

xlsvtree <path_to_elem>

另一种形式是 lsvtree -g <path_to_elem>
打开图形方式的 version tree

注: 这里无法选择branch中的非latest版本checkout,
无论选中哪个版本checkout, 都只会checkout该branch中的latest版本

lshistory -g <path_to_elem>

打开图形方式的 history report

常用命令行

cleartool <subcmd> <option>

ct protect -<subcmd> <option>

必须是owner才能修改文件属性
例:
-chown <someone_else>
-chmod +w <path_to_elem>

ct rm <file>

The usage of the command "ct rmelem" is forbidden.
This command destroys all the history of a clearcase element.
If you wish to remove a file:
checkout the directory and use the command: "ct rm <file>"
Then, checkin the directory.

ct ln -s

压缩文件

When creating new elements out of big files it is recommended to use the following command:
cleartool mkelem -eltype compressed_file <file name>
To change an allready exist ClearCase element to a compressed file:
cleartool chtype -eltype compressed_file <file name>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.