ClearCase: Difference between delivering and rebasing

倖福魔咒の 提交于 2019-12-07 12:29:50

问题


Suppose stream B and stream C are child streams of stream A and seeded from the same baseline of A. After parallel development for a while in both B and C, B needs to obtain the codes from the latest baseline bl_C_5 of C. Is there any functional (merging of elements) or non-functional (performance etc.) difference between the following operations?

  • B rebases from baseline bl_C_5 of C
  • C delivers baseline bl_C_5 to B

回答1:


Simple:

"B rebases from baseline bl_C_5 of C" is impossible: a rebase can only merge baseline produced from the parent Stream A, not from C.

You could deliver C to A, set a baseline on A and rebase said baseline on B.

Then the difference with delivering directly C to B (which is possible) would be that the rebase would bring potential other changes delivered to A.
If no other merge (deliver/rebase) has taken place on A, the deliver C to A, and then rebase B is the same than delivering directly to B. The only difference is that all views on A would see C contributions.



来源:https://stackoverflow.com/questions/8457312/clearcase-difference-between-delivering-and-rebasing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!