I am getting Tree conflict in SVN. It's weird!
I have standard Trunk, Branches, Tags structure, and follow multiple team model. Branch1, Branch2 are created form Trunk and active parallely
Steps followed:
1. Branch1 Work
: newfile.c
added and committed in Branch1
2. Merge
: From Branch1 -> Trunk (successful; file added in trunk)
3. Merge
: Down-merge from Trunk -> Branch2. (successful; file added in Branch2)
4. Branch2 Work
: Perform regular Branch2 work and commit.
5. Merge
: From Branch2 to Trunk => This step throws Tree-conflict for newfile.c
Branch2 Team is getting Tree conflict for newfile.c
which they have not touched at all.
Why is this happening. Any suggestions please, can this be avoided? This issue is bugging me a lot.
PS: I used TortoiseSVN client 1.6.0 and TortoiseSVN 1.6.16 - 32 Bit (both used separately)
merge error (above step-5):
>svn merge file:///E:/Treeconflict_test/svnRepo/Branches/Br2 Trunk
--- Merging r3 through r8 into 'Trunk':
C Trunk\src\ARTransactionFeeDto2.java
U Trunk\pom.xml
G Trunk
Summary of conflicts:
Tree conflicts: 1
>svn status Trunk
M Trunk
C Trunk\src\ARTransactionFeeDto2.java
> local obstruction, incoming add upon merge
M Trunk\pom.xml
PFB svn repo log (above step 1-4):
>svn log -v file:///E:/Treeconflict_test/svnRepo
------------------------------------------------------------------------
r8 | rohit | 2013-03-05 16:30:35 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
M /Branches/Br2/src/ARTransactionFeeDto2.java
br2 branch changes
------------------------------------------------------------------------
r7 | rohit | 2013-03-05 16:29:34 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
M /Branches/Br2
M /Branches/Br2/pom.xml
A /Branches/Br2/src/ARTransactionFeeDto2.java (from /Trunk/src/ARTransactionF
eeDto2.java:6)
dowm-merge from Trunk to branch-Br2
------------------------------------------------------------------------
r6 | rohit | 2013-03-05 16:26:56 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
M /Branches/Br2/pom.xml
br2 branch changes
------------------------------------------------------------------------
r5 | rohit | 2013-03-05 16:22:26 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
M /Trunk
M /Trunk/pom.xml
A /Trunk/src/ARTransactionFeeDto2.java (from /Branches/Br1/src/ARTransactionFeeDto2.java:4)
up-merge from branch-Br1 to Trunk
------------------------------------------------------------------------
r4 | rohit | 2013-03-05 16:20:48 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
M /Branches/Br1/pom.xml
A /Branches/Br1/src/ARTransactionFeeDto2.java
br1 changes
------------------------------------------------------------------------
r3 | rohit | 2013-03-05 16:19:07 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
A /Branches/Br2 (from /Trunk:2)
created branch br2
------------------------------------------------------------------------
r2 | rohit | 2013-03-05 16:18:57 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
A /Branches/Br1 (from /Trunk:1)
created branch Br1
------------------------------------------------------------------------
r1 | rohit | 2013-03-05 16:18:13 +0530 (Tue, 05 Mar 2013) | 1 line
Changed paths:
A /Branches
A /Tags
A /Trunk
A /Trunk/pom.xml
A /Trunk/src
A /Trunk/src/ARTransactionFeeDelegateResponse.java
A /Trunk/src/ARTransactionFeeDto.java
A /Trunk/src/ResponseARTransFeeDtlsDto.java
initial commit Trunk
------------------------------------------------------------------------