问题
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