Clearcase UCM - Cross delivering vs. delivering upwards?

后端 未结 1 1696
抹茶落季
抹茶落季 2020-11-30 14:57

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 th

相关标签:
1条回答
  • 2020-11-30 15:09

    This is correct, but first a few reminders:

    • 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!

    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.

    0 讨论(0)
提交回复
热议问题