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

Re: Branch from a branch -- will merges still work?

From: Jacob Weber <jacob_at_jacobweber.com>
Date: Thu, 18 Feb 2010 08:19:33 -0800

On Feb 18, 2010, at 8:00 AM, Rob van Oostrum wrote:

> On Thu, Feb 18, 2010 at 10:17 AM, Jacob Weber <jacob_at_jacobweber.com> wrote:
> My concern is this:
> After we reintegrate from A into trunk, we'll need to revert A to trunk (according to my understanding of reintegrate merges.) So once we do that, will we still be able to reintegrate from AA into A, or will their connection be broken?
>
> Is there a better way to achieve the same result (being able to do new development based on still-unreleased changes)?
>
>
> If you need to keep A around after reintegration to trunk, all you need to do is do a --record-only merge back to your branch to avoid merge conflicts (caused by the reintegration merge) when bringing in additional trunk changes.
>
> No reason your proposed solution couldn't work.

Do you mean that I don't need to delete my branch after a reintegrate, as suggested here:

http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchemerge.basicmerging.reintegrate

and that instead, I can just record the revision of the merge as having being merged into my branch?

You may have just changed my life, sir. :)

Jacob
Received on 2010-02-18 17:20:21 CET

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.