I see... so still two sides of the same coin. The commit on trunk which
is the results of the --reintegrate creates a revision that branch needs
to know about for further merges from trunk and/or future
So, lets say r100 was your commit as your example showed. I record-only
that revision in the branch. Now I make more changes in the branch and
never make any more changes on the commit. There is still no problem
doing a reintegrate again? Also, if I did a merge from trunk to the
branch there is nothing to do.
> -----Original Message-----
> From: Mark Phippard [mailto:markphip_at_gmail.com]
> Sent: Friday, February 20, 2009 4:10 PM
> To: Bob Archer
> Cc: Brian Erickson; users_at_subversion.tigris.org
> Subject: Re: Fwd: svn1.5 seems to fail simple merge-tracking scenario
> On Fri, Feb 20, 2009 at 4:06 PM, Bob Archer <Bob.Archer_at_amsi.com>
> > I'll try my hand at writing something for the manual. Just want to
> > sure I fully understand this.
> > So, the problem was never with running --reintegrate multiple times,
> > was doing a merge back into the branch from trunk? Branch would see
> > (for example) as needing to be merged back into the branch which
> > contained all/a lot of those diffs?
> There are two potential problems.
> 1) You want to catch up with trunk again. Before you reintegrated you
> were doing:
> svn merge ^/trunk
> If you do that again, it is going to merge back the revision you
> 2) Suppose you just have made a few more changes and want to
> reintegrate those to branch.
> Well, internally, reintegrate figures the last revision from trunk
> that you synched to that branch (or created it from). If you just
> reintegrate again, then it will find the same revision it did the
> first time you used reintegrate. When it uses this revision to diff
> trunk at that revision and the current state of the branch, then the
> diff will include all of the changes from the first reintegrate.
> So doing svn merge --record-only fixes both of these problems.
> Mark Phippard
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-20 22:18:12 CET