如何仅将基线应用于特定组件? [英] How to apply baseline only to a particular component?

查看:78
本文介绍了如何仅将基线应用于特定组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Clearcase UCM。为了维护配置项,我们创建了组件。

we are using Clearcase UCM. To maintain the configuration items, we created components.

我用来为整个项目/ steram应用基线。

I use to apply baseline for whole project/steram.

是否可以单独将基线应用于特定组件?

Is there any way to apply baseline for particular component alone?

推荐答案

您也可以在创建基线时选择所需的组件(在-component 选项旁边com.ibm.rational.clearcase.cc_ref.doc / topics / ct_mkbl.htm rel = nofollow> cleartool mkbl )m(如果您选择一项活动)包括该组件中的仅修改版本。

(您可以查看活动的更改集标签以查看活动的每个版本的扩展路径名)

You can also select the component you want when making a baseline (beside the -component option of cleartool mkbl)m if you select an activity including only modified versions in that component.
(you can look at the "Change Set" tab of an activity to look at the extended pathnames of each versions of an activity)

请注意,如果 cleartool mkbl -component 如果自上一个基准以来没有进行任何修改,则不会创建基准。

(除非您可以通过添加相同选项来强制该问题)

Note that cleartool mkbl -component will not create a baseline if there was no modifications since the last baseline.
(unless you force the issue by adding the -identical option)

请注意,您仍然需要一个UCM视图(与Stream关联)来运行该命令:始终为给定的流(在给定的条件下)创建基线(甚至仅针对一个组件)

Note also you still need an UCM view (associated to a Stream) to run that command: a baseline (even for just one component) is always created for a given stream (in a given associated view).

我还建议始终制作完整的基线(-完整选项)。

在比较两个基准时避免了性能问题,因为两个增量基准必须在每个文件的版本树中返回到最后一个完整基准,以便获取给定基准的完整版本列表。

I also recommend always making full baselines (-full option).
That avoid performance issue when comparing two baselines, since two incremental baselines must go back in the version tree of each file to the last full baseline in order to get back the full list of versions of a given baseline.

-comp 选项一起使用时, mkbl 应该在命令的 end (即最后一个参数)处放置要创建的基准的名称:

When used with the -comp option, the mkbl should put the name of the baseline to create at the end (ie last parameter) of the command:

cleartool mkbl -comp myComponent@\myPVob aNewBlName

这篇关于如何仅将基线应用于特定组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆