本文介绍了使用Clearcase rcleartool更改Web视图的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Clearteam Explorer 8.0.0附带的rcleartool版本。
运行rcleartool -ver给出:
C:\Program Files(x86)\IBM\IMShared\plugins \com.ibm.rational.ccrc.cli_8.0.0.v20140305_0215
我无法更改Clearteam Explorer版本,但可以使用其他rcleartool版本。

I'm using the rcleartool version that comes with Clearteam Explorer 8.0.0 Running rcleartool -ver gives:C:\Program Files (x86)\IBM\IMShared\plugins\com.ibm.rational.ccrc.cli_8.0.0.v20140305_0215I can't change my Clearteam Explorer version, but could use a different rcleartool version if it would work.

我希望能够从命令行将整个Web视图更新为选定的标签或版本。

我看到 update -add允许您更改加载规则,但是据我所知,是否不允许您更改版本选择规则?

I see that "update -add" allows you to change the load rules, but as far as I can tell doesn't let you change the version selection rules?

get是否允许您指定版本或标签,但据我所知只能在单个文件上使用?

"get" does let you specify a version or label but as far as I can see can only be used on a single file?

是否可以使用rcleartool做我想做的事?

Is it possible to do what I want to do using rcleartool?

推荐答案

()可以允许您编辑配置规范。

The CCRC (ClearCase Remote Client) API rcleartool (which can be installed here) can allow you to edit a config spec.

即使未列出setcs,也可以尝试使用,但是提到 ClearTeam Explorer命令行 rcleartool setcs 不能按预期填充配置规范。

Even though setcs isn't listed, you can try it, but this technote mentions "ClearTeam Explorer command line rcleartool setcs does not fill config spec as expected."

所以最安全的方法仍然是编辑配置规范:

So the safest way remains to edit the config spec:

cd /path/to/your/web/view
rcleartool edcs

所有配置规格选择规则首先显示您的标签(然后是其他规则)

And all the config spec selection rule to view first your label (then the other rules)

如果您使用的是UCM,最简单的方法是创建新的项目/集成流,然后可以将其重新设置到所需的任何基准。

或在已创建标签(UCM中的基准)的流中创建子流,并对该基准进行重新设置

If you are using UCM, the easiest way is to create a new project/integration stream, which you can then rebase to any baseline you want.
Or create a child stream to the stream where your label (baseline in UCM) has been created and rebase that baseline.

这篇关于使用Clearcase rcleartool更改Web视图的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 01:36