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

Tree conflicts when merging deleted directories or files

From: Bernhard Brunner <brn_at_brudesy.de>
Date: Fri, 08 May 2009 14:12:30 +0200

I have the following use case:

A project named 'Proj' contains some subdirectory, say 't'.
Now I create a branch of this project, say 'ProjB', check it out and
remove t, because its content won't contribute to the users of the
branch and shouldn't be visible to them.
I continue working on 'Proj' and occasionally merge it with 'ProjB' to
keep the branch up to date.
So far, this works fine and follows the usual work flow.

However, every time I change something within 't', I will get a tree
conflict that must be explicitly resolved, before I can commit the
result of the merge. Although I understand that this is formally
correct, it gets tedious over time. Also it is also hard to explain to
coworkers (most of them having some experience with CVS), why they have
to resolve a conflict for a non existing item. I tried adding 't' to the
ignore property of 'ProjB', but this made things worse, because I still
got the tree conflict, but could not resolve it anymore.

 From my point of view, it would be acceptable, if I got a tree conflict
once, but then never again, since that conflict has been as resolved
(after all the directory was removed just once). After all, one of the
reasons to remove the directory (and some files) was that I don't want
to merge stuff that is not needed within the branch anyway.

Does anyone know a way to handle this situation more elegantly?
I already thought about moving 't' out of 'Proj' and creating an
external in its place, but since it is an integral part of the trunk
project, just not of the branch, this doesn't seem to be a very good
solution either.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2111597

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-08 14:17:50 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.