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

RE: Re: Need information on tree conflicts

From: Chuck Holzwarth <chuck_holzwarth_at_yahoo.com>
Date: Mon, 18 May 2009 10:10:50 -0700 (PDT)

So, tree conflict resolution works opposite of the way text conflicts work?

For textual conflicts:
I start with the checkout of a branch.
I merge the other branch onto the working copy.
For a text conflict, the repository copy in the branch that is the base of my working copy.
The incoming code is the current working copy.

What we are experiencing is that a directory does not exist in either branch to start with. ProgrammerA creates the directory in brancA. Programmer creates a direcotry with the same name and in the same point in the hierarchy in branchB. Files are added to the directories on both branches. branchA is merged to a release branch and checked in. The release goes to production and the release branch is merged to the trunk. A new release branch is created as a copy of the trunk. When we try to merge branchB to the new release branch, we get a tree conflict for the directory. For our part, we are choosing to keep the directory object from the trunk as the master object since other subsequently created branches will be using that object.
I see the tree conflict in the merge result. I use check for modifications and use edit conflicts on the tree conflict. I see:
Source left:
Source right:
Button - Keep the directory from the repository
Button - Keep the local directory

In the case where I am merging the branch to the trunk, I want to keep the object from the trunk.
I checked out the trunk and used the merge functionality to choose the branch to merge onto my copy of the trunk.

Both directories come from the repository, just different places in the repository. For text conflicts, I expect the local info to be the incoming text changes while the repository info would be the base of the local working copy. In this case, which do I use?

tree_conflict.JPG
Received on 2009-05-18 21:34:10 CEST

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