我得到SVN中的樹衝突。有點奇怪!svn merge:樹衝突怪異
我有標準的樹幹,分支,標籤結構,並遵循多個團隊模型。 分支1,店2創建形式軀幹和活性平行
步驟如下:
1. Branch1 Work
:newfile.c
加入並致力於在Branch1
2. Merge
:從分支1 - >幹線(成功;在軀幹添加的文件)
3. Merge
:從中繼向下合併 - > Branch2。 (成功;文件在Branch2中添加)
4. Branch2 Work
:執行常規的Branch2工作並提交。
5. Merge
:從店2主幹=>這一步會因newfile.c
店2隊越來越樹衝突的newfile.c
他們還沒有觸及根本樹衝突。 這是爲什麼發生。任何建議請,這可以避免?這個問題困擾了我很多。
PS:我用TortoiseSVN的客戶端1.6.0和TortoiseSVN 1.6.16 - 32位(兩者分開使用)
合併誤差(上述步驟-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的日誌(上述步驟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
------------------------------------------------------------------------
SVN中的樹衝突可能如果合併樹中的文件**在不同部分**中同時更名並編輯** ** AFAIK – 2013-03-05 11:56:23
...您通常會得到一個詳細解釋: – 2013-03-05 12:00:54
@ÁlvaroG.Vicario - 不,我**沒有得到**的衝突樹無論如何 – 2013-03-06 04:16:16