That's kind of what I was thinking too. Just wanted to provide more details about my situation:
1) Created 1.1 branch from trunk.
2) Modified 1.1 branch.
3) Created 1.2 branch from 1.1 branch.
4) Modified 1.2 branch.
5) Modified 1.1 branch.
6) Merged changes from 1.1 to 1.2.
7) Reintegrated 1.1 back into trunk.
8) Make more changes to 1.2
9) Attempt to reintegrate 1.2 into trunk failed.
I was assuming I was missing a fundamental step such as notifying 1.2 somehow that 1.1 had been integrated. 1.1 added several new items to the trunk, and when I reintegrated 1.2 I got tree errors because it seemed to be trying to re-add those new items.
-----Original Message-----
From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
Sent: Wednesday, August 11, 2010 2:44 PM
To: users_at_tortoisesvn.tigris.org
Subject: RE: Branch Merging Issue
> On Wed, Aug 11, 2010 at 09:29, Michael Cole <mcole_at_forbin.com>
> wrote:
> > Hello,
> >
> > I am new to branching and need a little guidance in my particular
> > situation. I made a Build1.1 branch from my trunk. From that
> Build 1.1 I
> > created Build1.2 branch. I finished 1.1, merged the changes
> back into 1.2,
> > and then merged 1.1 back into my trunk and everything worked
> well. However,
> > now I am attempting to merge 1.2 back into my trunk and I am
> getting a ton
> > of tree conflicts. It almost seems like it’s trying to merge the
> same new
> > items that 1.1 put back into the trunk. Do I need to somehow
> tell 1.2 and I
> > put 1.1 back into the trunk? Did I do something incorrect with
> branching
> > 1.2 off of 1.1?
> >
> >
> >
> > Now that I read this question, it seems that I need to take 1.2
> back through
> > 1.1 to get back to the trunk. Is this the case?
>
> Not necessarily.
>
> I suspect what you want to do is only to merge the changes in 1.2
> *after* it was branched from 1.1 back into the trunk.
>
> E.g. If you created branch 1.1 in revision 5, then created branch
> 1.2
> from branch 1.1 in revision 10, you would only want to merge
> revisions
> 10-HEAD of branch 1.2 to the trunk.
>
>
> -D
> Yes, I found this to be the issue. I was getting used to simply
> using the Reintegrate Branch function. I had to get my hands a
> little dirty with the versions when I merged 1.2 back. Overall
> wasn't too complicated - just a little awkward for a newbie.
>
That said, reintegrate should have worked. It should be able to follow the ancestry of the 1.2 branch to the 1.1 branch and know that the merge info that applied to 1.1 revisions applied to the 1.2 branch. Or perhaps I am giving svn too much credit... but this is my understanding of it and your scenerio should have worked properly.
BOb
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2645733
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2646054
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-08-12 17:18:55 CEST