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

Re: unexpected tree conflict on merge for same source file

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 17 Oct 2012 19:23:39 +0200

On Wed, Oct 17, 2012 at 07:12:17PM +0200, Stefan Sperling wrote:
> You then cherry-picked this revision from prj1 into prj2, causing a commit
> that added second.txt to prj2. Let's call this changeset 'prj2_at_50':
>
> A second.txt (copied from, say, prj1_at_49)
> Mergeinfo addition: Merged prj1:40-49
>
> Now you merge prj1 into testing, let's say in r61. The common ancestor of
> testing and prj1 is trunk, which does not contain second.txt.
> So among other changes you are merging:
>
> A second.txt (copied from, say, prj1_at_60)
> Mergeinfo addition: Merged prj1:40-60
>
> Next, you merge prj2 into testing, let's say in r71. The common ancestor
> of prj2 and testing is trunk, which does not contain second.txt.
> So the changeset being merged looks something like this:
>
> A second.txt (copied from, say, prj2_at_70)
> Mergeinfo addition: Merged prj1:61-70

I got the above mergeinfo change wrong, of course :)
The incoming mergeinfo change for prj1 isn't prj1:61-70 but prj1:40-49,
which is a subset of prj1:40-60 already merged into testing.
So it is a no-op change.

> Mergeinfo addition: Merged prj2:50-70
Received on 2012-10-17 19:24:15 CEST

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

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