Auto Merge in RTC
Hi,
in this qusteion, some one mentioned that the auto merge tool is the Eclipse defult tool. is that corrert?
if it does, how the auto merge behave for Visual Studio and how for Eclipse?
if not, how the auto merge behave?
I'm using RTC 4.0.6.
Thanks
Michal
2 answers
As far as I can tell, that is correct. You can also use an external tool in Eclipse and VStudio.
I assume that in Visual Studio and in the Windows Shell integration, this tool is used as well, just not embedded in Eclipse. I am not completely sure here.
I assume that in Visual Studio and in the Windows Shell integration, this tool is used as well, just not embedded in Eclipse. I am not completely sure here.
Comments
You can configure an external compare tool in Eclipse and VS, but that is only used to show differences between versions of a file (when looking at history or when manually resolving conflicts within files).
The external compare tool is not used to merge files automatically.
Thanks for the info Evan!
1 vote
Automatic merging is performed by the RTC core that is shared between both Eclipse and Visual Studio.
I'm not sure what you want to know when you ask how automerge behaves: it merges non-overlapping changes from multiple files into a single output file. If there are overlapping changes in a file, then the user is told that there is a conflict and they must resolve using the default diff editors or an external tool. It's no different from other SCM systems in this respect.
One major difference from other tools is how RTC SCM represents conflicting lines within files. Many other tools will insert conflict markers into the file itself. The RTC command line interface can do that, but the graphical UIs don't modify the file to indicate there is a conflict. A benefit of this approach is that it prevents users from inadvertently marking a file as merged when it still contains some of the conflicting text.
A minor workflow difference from other tooling, is that RTC gives you the option of reviewing conflicting files before they are automerged, so you can see your state, the incoming state, as well as the most recent common ancestor. I haven't dealt with many people who use this option regularly, but you can, if you want.
If you have more specific questions, let me know and I will update this answer.