Clearcase UCM - 交叉交付与向上交付? [英] Clearcase UCM - Cross delivering vs. delivering upwards?

查看:25
本文介绍了Clearcase UCM - 交叉交付与向上交付?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在同一级别的层次结构中有两个 Clearcase UCM 流(即相同的父流).如果两个子流都重新基于相同的父基线,这是否意味着

We have two Clearcase UCM streams in a hierarchy at the same level (i.e. same parent stream). If the two child streams are both rebased to the same parent baseline, does that mean that

  • 将两个流的活动传递给父级(一个,然后另一个)

相当于:

  • 将一个子流的活动传递给另一个子流,然后简单地将一个子流传递给父流

这是真的吗?似乎应该是这样,假设所有交付的任何手动/用户选择的合并都是以相同的方式进行的.

Is this in fact true? It seems it should be, assuming any manual/user selected merges for all deliveries are made in the same way.

推荐答案

这是正确的,但首先要提醒一下:

This is correct, but first a few reminders:

  • 拥有子流并不意味着要从该子流向其父流传送必须.可以从一个流向任何其他流进行交付.
  • 横向合并可能很危险,如果两个流不是基于相同的基础基线(在与父级进行最终合并时仍然会存在冲突,如下所示 图解答案).
  • 交付会创建一个时间线,将所有当前活动链接在一起.这意味着如果您只将 a1、a2 和 a3 交付给 B,然后决定仅将 a4(而不是 a5)交付给任何其他流(B 除外),ClearCase 将强制您交付所有活动(a1 到 a5),即使尽管它们在文件方面完全不相关.
    如果您:
    • 只交付给父母
    • 无论如何都要提供所有当前的活动!
    • having a sub-stream does not mean a deliver have to be done from that sub-stream to its parent. A deliver can be done from a stream to any other one.
    • sideway merges can be dangerous if the two streams are not based upon the same foundation baseline (conflicts will still be there when making the final merge to the parent, as seen in this illustrated answer).
    • a deliver creates a timeline linking all present activities together. That means if you only deliver a1, a2 and a3 to B, then decide to deliver a4 only (and not a5) to any other streams (other than B), ClearCase will force you to deliver all activities (a1 to a5), even though they very well be completely un-related in term of files.
      That does not happens if you:
      • only deliver to the parent
      • always deliver all the current activities anyway!

      在您的情况下,由于两个流具有相同的起点,因此在将 B 交付给父级之前先从 A 交付到 B,是解决 B 中任何合并冲突的一种方法(不会过早影响父级)进行最终合并.

      In your case, since both streams have the same starting points, making first a deliver from A to B, before delivering B to parent, is a way to solving any merge conflicts in B (without impacting too soon the parent) before making the final merge.

      这篇关于Clearcase UCM - 交叉交付与向上交付?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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