[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: Re: Unexpected successful merge in a conflict

From: Simon Large <simon.tortoisesvn_at_gmail.com>
Date: Fri, 27 Jul 2012 13:46:30 +0100

On 27 July 2012 12:35, Arunmozhi <arunmozhi_v_at_yahoo.com> wrote:
> Now I realized that the problem is more serious than I thought. I feel that the SVN branching and merging/integration algorithm is flawed. However I am not sure if this is a known limitation of SVN. I did 2 tests to compare SVN against Perforce. The intention of the test is to see if a change done by a user at some point in time and taken to multiple branches comes back to the main branch duplicated multiple times without indicating a conflict.
>
> Test 1:
> -------
>
> Integrate B1 back to main
> +--------------+
> | V
> Main -> Branch1 -> Branch2 Main Main
> a a a a a a a
> b b b b b b b
> c c c c x c x
> z z d d d d d
> z z z z d
> | z
> | ^
> +-----------+
> Integrate B2 back to main
>
> In Perforce the result is (without conflict)
> a
> b
> e
> d
> z
>
> Test 2:
> -------
>
> Integrate B1 back to main
> +--------------+
> | V
> Main -> Branch1 -> Branch2 Main Main
> a a a a a a a a
> b b b b d d b d
> c c c c z b c b
> z z d d c d c
> z z z z d
> | z
> | ^
> +-----------+
> Integrate B2 back to main
>
> In Perforce the result is (without conflict)
> a
> d
> b
> c
> z
>
> Looking at test 2, may be I am wrong when I told before that choosing a distance of 0 was the source of the problem. May there be problem in the core of the merging/integration algorithm? Does SVN do a simple 3-way merge during integration?

You're asking in the wrong place. The merge algorithms, both during an
explicit merge operation and the implicit one when doing a working
copy update, are handled in core subversion library code, so there is
nothing TortoiseSVN can do to change this behaviour. Your questions
would be better directed to the subversion users mailing list (users
at subversion.apache.org).

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2993414
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-07-27 14:46:48 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.