Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Saving merges using KDiff3 with TortoiseSVN

Wanting to use KDiff3 as my conflict resolution tool for TortoiseSVN I followed the instructions here and here to configure TortoiseSVN to use KDiff3. My merge tool settings in TortoiseSVN are thus:

C:\Program Files (x86)\KDiff3\kdiff3.exe %base %mine %theirs -o %merged --L1 %bname --L2 %yname --L3 %tname

When performing a merge a conflicts may be detected. If they are I hit the 'Edit Conflict' button to launch KDiff3 and reconcile the merge conflicts.

However, when I save my merge the result is saved to a temporary file in the .svn folders rather than within the actual working file C:\projects\my-new-project\src\mvags1.mxml. The temporary location can be seen in the KDiff3 output window as well.

enter image description here

Have I configured anything incorrectly or are my expectations for how KDiff3 works with TortoiseSVN incorrect?

I am using TortoiseSVN 1.7.5 and KDiff3 0.9.96.

like image 635
Ryan Taylor Avatar asked Mar 05 '12 15:03

Ryan Taylor


1 Answers

My expectations for how KDiff3 would work with TortoiseSVN and Subversion were flawed. The behavior that I was experiencing is the correct behavior.

The proper process for using KDiff3 with TortoiseSVN is:

  1. Click the edit conflicts button when conflicts are detected (in TortoiseSVN)
  2. Resolve the merge with KDiff3
  3. Click the save button in KDiff3
  4. Close KDiff3
  5. In TortoiseSVN mark the file as resolved
like image 68
Ryan Taylor Avatar answered Oct 11 '22 14:10

Ryan Taylor