Replies: 3 comments 4 replies
-
I am not familiar with the svn command, but I think %theirs, %base, and %mine are variables that can only be used in TortoseSVN. Also, if there is a conflict mark in the contents of a conflicting file, you can open it in 3pane mode by simply opening it in WinMerge as follows :
|
Beta Was this translation helpful? Give feedback.
-
When you had the conflict, did you run the If the former, the svn command is included in TortoiseSVN, but is separate from TortoiseSVN; you cannot use TortoiseSVN variables. |
Beta Was this translation helpful? Give feedback.
-
Anyway, here's an example of opening a conflict file generated by the |
Beta Was this translation helpful? Give feedback.
-
When I use WinMerge for conflict resolution via the automatic Tortoise SVN configuration it pops up a perfect three-pane comparison that works exactly as it should after the conflicts are resolved and saved. Tortoise calls this with:
C:\Program Files (x86)\Utils\WinMerge\WinMergeU.exe /e /ub /fm /wl /wr /dl %tname /dm %bname /dr %yname %theirs %base %mine /o %merged
However, when I try to duplicate this in a batch file I can't get it to work properly. The windows aren't in the right order and at least one always comes up with an invalid path. I've tried both of the following and a lot of other variants as well:
Also with the quotes differently positioned, to have the file references outside the -x extensions:
svn.exe diff --diff-cmd %DIFF3% -x "-e -ub -fm -wl -wr -dl %tname -dm %bname -dr %yname" %theirs %base %mine -o %merged
Neither works. It always comes up with the subfolder missing from the first path and the word "mine" at the end of it, although the "mine" should be in the third path. The .svn-base file is then in the second path and the conflicted file with the <<<<<<< .mine tags etc. is in the third path.
I've tried to research everywhere to see how I need to configure this command line but I just can't seem to get it right. WinMerge is registered as a 3-way merge tool and, as I noted, everything is working fine when Tortoise SVN calls it as the merge tool.
Any ideas? I'm stuck. ;-/
Beta Was this translation helpful? Give feedback.
All reactions