Advantages of three-way automatic merging vs. two-way

Posted by bnsmith on Stack Overflow See other posts from Stack Overflow or by bnsmith
Published on 2010-05-13T18:25:17Z Indexed on 2010/05/13 18:34 UTC
Read the original article Hit count: 295

Filed under:
|
|
|

I'm interested in understanding two-way and three-way merging of source code files. Based on what I've read, two-way merging has some "crippling weaknesses" compared to three-way merging. What I'd really like to see are one or two simple, concrete examples of cases where three-way merging is able to automatically merge something from a branch to the trunk without producing conflicts, while two-way merging falls down and requires a bunch of manual intervention to get the code merged.

Any links to blog posts or even references to books would be appreciated (yes, I have Googled this for an hour or so). Thanks!

© Stack Overflow or respective owner

Related posts about version-control

Related posts about merge