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

Re: Merging from branch to trunk.

From: adam35413 <adam.hammer_at_gmail.com>
Date: Wed, 19 May 2010 09:48:22 -0700 (PDT)

I went to the trunk and looked at the Check-For-Modification option. There
were the two errors I saw in the merge so I fixed those. However, when I
went to try to merge again, the same exact errors are appearing when I do
"Test Merge." I checked for modifications in the trunk again, and there are
none.

Thoughts?

Stefan Küng wrote:
>
> On 19.05.2010 17:11, adam35413 wrote:
>> I am trying to get the basics of branch management down, and have run
>> into a
>> weird issue. I created a branch from the trunk. I then attempted to do
>> Merge -> Reintegrate a branch in the trunk after performing the
>> necessary
>> commit/updates. The From URL was the branch folder I created previously.
>> I
>> have tried this with a depth of Working Copy and Full Recursive, and the
>> following issue always occurs.
>>
>> In TortoiseSVN, I saw conflicts on two files in the folder. When I
>> looked
>> at the log, the message was "The last merge operation tried to add the
>> file
>> 'Foo.txt', but it was already added locally." How do I resolve this
>> issue?
>> The error occurs for a file I have not modified and for a file I have
>> modified in the branch.
>
> You have a so called 'tree conflict' for that file. As the message tells
> you, the merge tried to add a file (meaning the file was added in one of
> the revisions you're trying to merge), but you also have that same file
> already in your trunk. So it was added in trunk and your merge tries to
> add it again.
>
> Open the 'check-for-modifications' dialog on a parent folder of that
> file, then mark the conflict as 'resolved'.
> But you have to decide yourself whether you want to keep the file from
> the branch of the existing one on trunk. If you want the file from the
> branch, copy it manually from the branch.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2610900
>
> To unsubscribe from this discussion, e-mail:
> [users-unsubscribe_at_tortoisesvn.tigris.org].
>
>

-- 
View this message in context: http://old.nabble.com/Merging-from-branch-to-trunk.-tp28609693p28611038.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2610911
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-05-19 18:53:27 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.