重新定义一组基线 [英] rebasing a set of baselines

查看:187
本文介绍了重新定义一组基线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想重新定义一组基线。使用逗号分隔rebase命令中要提到的每个基线是一个选项,另一个是分别获取每个基线并给出rebase -baseline [基线名称] - 完成命令的次数与基线的数量一样多,两者都很耗时。

I want to rebase a set of baselines.Separating each baseline to be mentioned in the rebase command with a comma is one option and the other is to take each and every baseline separately and give the rebase -baseline [name of baseline] - complete command as many number of times as the there are number of baselines, both of which are time consuming.

有没有办法以最少的努力快速变换? / p>

Is there a way to rebase quickly with least effort?

推荐答案

一个 cleartool rebase 命令,带基线由昏迷分开,肯定更快。

One cleartool rebase command, with baselines separated by coma, is certainly quicker.

请注意,你可以列出所有的延迟流的基线并以相当快的速度获得该列表。

Note that you could list all the latests baselines of a stream and get that list fairly quickly that way.

cleartool descr -fmt "%[latest_bls]CXp," stream:aStream@\aPVob






但如果你不想要要列出所有基线,您可以:


But if you don't want to list all baselines, you can:

  • create a rootless component
  • put all the other components as dependent of that new rootless component (through the GUI, or you can do it in command-line)

这将创建一个复合基线,您可以用它来重新定位另一个流。

一个基线。

多个组件已重新定位。

That will create a composite baseline, that you can use for rebasing another stream.
One baseline.
Multiple components rebased.

另请参阅:

  • "What is composite baseline in UCM and when it will be used?".
  • "Best practices for using composite baselines in UCM"
  • "composite baseline"

这篇关于重新定义一组基线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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