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

Tree conflict after a simple delete

From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Wed, 23 Sep 2009 11:09:05 +0100

I hope someone can help me understand what it's going on.

I am using SVN 1.6.5 on RHEL4 with http access.

We have few development streams, one for each version of the product we still support. All new features are developed in a work-in-progress stream and then merged.

Someone deleted a file in WIP but the merged threw out a tree conflict and I don't unserstand why.

This is what I have done

ln1sub01 gtroccol>svn co http://localhost/svn-icon/5.31/test/src/ic/ud gt
...
Checked out revision 5983
ln1sub01 gtroccol> cd gt
ln1sub01 gt> svn st
ln1sub01 gt> svn log -c5971 -v http://localhost/svn-icon/wip/src/ic/ud
------------------------------------------------------------------------
r5971 | ccamacho | 2009-09-16 14:45:31 +0100 (Wed, 16 Sep 2009) | 1 line
Changed paths:
   D /wip/src/ic/ud/icudcc31.c
   M /wip/src/ic/ud/icudct31.c

P00016927: (WIP) Removal of Indexation and RebasedIndexation fields in CGTTransaction and CGTCalc file
------------------------------------------------------------------------
ln1sub01 gt> svn merge -c5971 http://localhost/svn-icon/wip/src/ic/ud
--- Merging r5971 into '.':
U icudct31.c
   C icudcc31.c
Summary of conflicts:
  Tree conflicts: 1
ln1sub01 gt> svn st
 M .
      C icudcc31.c
> local edit, incoming delete upon merge
M icudct31.c

I don't understand why I have a tree conflict on icudcc31.c. The message say "local edit" but the file hasn't been changed, as the first svn st command showed.

I have seen other posts in the ML regarding unexpected tree conflicts but they are usually about deleting of directories not files, or merging a delete twice in both directions (from trunk to branch and then from branch to trunk), or renaming/moving a file. Now I know this last case is similar to mine, as that it's just a delete and an add in Subversion, but, well, it should work :-)

I have tried, and still am, to write a script that replicates the problem but without knowing why this is happening it turns out a not so easy task.

Anyone can help?

Giulio

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-23 12:10:07 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.