How do you resolve the "evil twin" scenario between two SVN imported code bases
The following scenario.
Two version code bases that share some code changes. v10 v11 with a separate feature branch in both v10 and v11 Base code for v10 and v11 imported from SVN to RTC - no issues in v10 now import v10 feature branch into v10 component - separate stream merge V10 base code changes from RTC into new imported v10 feature branch - no problem repeat this for v11. Each code base v11 and v10 now have corresponding feature stream in sync with base code stream Create workspace for v11 feature stream Change target to v10 feature stream Evil Twin scenario is introduced? Any insight on how to resolve this situation. RTC 4.0.6 |
2 answers
Hi Wendy,
Depending on the extent of the conflicts we can try different ways of merging. Should both streams be loaded in the sandbox then the Eclipse compare can be used for example. Once it's completed then we can just use either resolve with mine or resolve with proposed, depending on how the files were merge and the selection under pending changes view.
I understand it may be an issue when we are talking about thousands of code's line.
That said, for merging with Eclipse I assigned a shortcut to the Compare with other Resource; I selected the file I wanted to compare and it lead me to the compare tool which is similar to RTC's one. I've attached some screenshots that details how I got there.
Best regards,
Rafael.
Comments
Wendy Murphy
commented Mar 28 '14, 8:58 a.m.
Hi Rafael
|
Geoffrey Clemm (30.1k●3●30●35)
| answered Mar 29 '14, 10:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Caveat: I have not used the Subversion importer, so these comments are based on the documentation in article https://jazz.net/library/article/650
I'm guessing that you neglected to pick an appropriate baseline from the v10 stream when you imported the v11 stream. The key section of the article for this is "Techniques for Importing Multiple CVS/SVN Branches". In particular, in step 1, when you imported the v10 stream, it is important that you generated RTC baselines for the branch/tag points. Then in step 2, before importing the v11 stream, that you create an RTC repository workspace with the baselines that are the appropriate baselines that form the "base" for the v11 stream. And then in step 3, that you select the component from that workspace when prompted for the target component. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.