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

Re: Problem with --reintegrate, subversion 1.5

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 31 Jul 2008 13:11:21 -0400

On Thu, Jul 31, 2008 at 1:08 PM, CB <ccbates_at_gmail.com> wrote:
> On Thu, Jul 31, 2008 at 1:03 PM, Mark Phippard <markphip_at_gmail.com> wrote:
>> On Thu, Jul 31, 2008 at 12:59 PM, CB <cbne_at_gmavt.net> wrote:
>>
>>> I have tried to follow the guide in the Subversion book for creating a
>>> branch, updating from trunk, and reintegrating the branch to the
>>> trunk.
>>>
>>> Unfortunately, I keep getting this error when trying to reintegrate:
>>> :::::::
>>> [C:\temp\SVNTest\Test2\trunk]
>>>> svn merge --reintegrate <URL>/Test2/branches/work
>>> svn: Cannot reintegrate from '<URL>/Test2/branches/work' yet:
>>> Some revisions have been merged under it that have not been merged
>>> into the reintegration target; merge them first, then retry.
>>> ::::
>>> This occurs after exactly one change to one file in branches/work. No
>>> file renames or moves.
>>> I used "svn copy" to create the branch named "work", changed one file
>>> in work, commited, then tried to run the "merge --reintegrate".
>>
>> Give this a read:
>>
>> http://blogs.open.collab.net/svn/2008/07/subversion-merg.html
>>
>> For example, if you renamed something in the trunk then later create
>> the branch you can still get this problem. The blog gives an
>> explanation and some things you can do to get out of it.
>>
>> --
>> Thanks
>>
>> Mark Phippard
>> http://markphip.blogspot.com/
>
> I have seen that article. It only mentions move/rename as a cause of
> the problem. As mentioned in the OP, I neither moved or renamed any
> files.
> 1. Create branch.
> 2. Edit file in branch.
> 3. Commit, in branch.
> 4. 'merge --reintegrate <branch URL>' in trunk WC; get error.

Please include the list in any replies.

As I it says in the post, and I reiterated above, it does not matter
what you did on the branch. If trunk already has sub-tree mergeinfo
it gets carried into the branch.

BTW, since you did not do any merges from trunk to the branch you can
merge the branch back to trunk without the --reintegrate option. You
only really need to use --reintegrate when you have been keeping the
branch in synch with trunk.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-31 19:11:54 CEST

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.