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

Re: Partially reintegrate changes

From: Tyler Roscoe <tyler_at_cryptio.net>
Date: Thu, 18 Feb 2010 08:26:26 -0800

On Thu, Feb 18, 2010 at 08:20:10AM -0800, Jacob Weber wrote:
> > On Thu, Feb 18, 2010 at 7:17 AM, Jacob Weber <jacob_at_jacobweber.com> wrote:
> >> Let's say I have a branch where I develop two features, X and Y. I then want to merge only X back
> >> into the trunk. I want to do some further development on Y, and merge it into trunk later.
> >>
> >> Is this possible with Subversion?
> >
> > Yes. When merging from branch to trunk, you would need to specify the
> > specific revisions to merge. You could not use reintegrate. Let's
> > assume when you commit this merge to trunk that revision 200 is
> > created.
> >
> > Back on the branch you should run:
> >
> > svn merge --record-only -c200 ^/trunk
> >
> > To record the merge. Now you can just do normal synch merges with
> > trunk and reintegrate the branch when you are done.
>
>
> Thanks! I'll give that a try.
>
> But I was under the impression that if I did a non-reintegrate merge
> back into the trunk, it would cause self-referential mergeinfo to be
> written there. That is, the trunk would have mergeinfo for the trunk.
> And then that ends up screwing up things later on.

The --record-only merge is what keeps you away from this problem.

tyler
Received on 2010-02-18 17:27:00 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.