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

Re: Dangerous to keep re-integrated branches alive?

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 14 Feb 2011 20:27:28 +0100

On Mon, Feb 14, 2011 at 06:05:26PM +0000, Varnau, Steve (Neoview) wrote:
> > -----Original Message-----
> > From: Stefan Sperling
> > No, the files can differ. E.g. consider what happens if the branch modifies
> > the very last line of a file. Now the branch is synced to trunk to prepare
> > it for reintegration. The file receives no changes. Next, someone commits
> > a change to trunk changing the very first line of the file. Then you
> > perform the reintegrate merge, and it's likely that this merge is
> > conflict-free (unless the file is very short). Now you commit the result
> > of the reintegration merge, and the files on the branch and the trunk are
> > not the same -- they differ in the first line.
>
> Okay, but then I would not want to block that revision with a record-only merge, right? I would want to pick up that merge resolution the next time I sync-up the branch.
>

Which revision do you intend to block, precisely?

I think you eventually want to merge into the branch the revision that
added the first line to the file on trunk.
But that is not the same revision as the one that committed the result
of the reintegrate merge. So in this example it's perfectly fine to block
the reintegration revision from being merged into the branch, isn't it?
Received on 2011-02-14 20:28: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.