Using TortoiseMerge for command line Subversion merging
Create a batch file called
svn_tortoisemerge.bat
with the following content."c:\Program Files\TortoiseSVN\bin\TortoiseMerge.exe" /base:"%1" /theirs:"%2" /mine:"%3" /merged:"%4"
Set the
SVN_MERGE
environment variable to point to the file.set SVN_MERGE=c:\...\svn_tortoisemerge.bat
When merging conflicts use
l
to launch the editor andr
to mark a conflict as resolved.Conflict discovered in 'C:/.../somefile'. Select: (p) postpone, (df) diff-full, (e) edit, (mc) mine-conflict, (tc) theirs-conflict, (s) show all options:
Via Stack Overflow.