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

RE: Branch Merging Issue

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 11 Aug 2010 15:43:55 -0400

> 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].
Received on 2010-08-11 21:44:06 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.