我使用 Mercurial 进行源代码控制,并使用 SourceTree 来管理它。我想使用 Visual Studio 的内置差异和合并工具 (vsdiffmerge) 来比较文件,但这不起作用。
我目前正在使用以下内容:
差异命令:
\"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsdiffmerge.exe\"
差异参数:
\"$LOCAL\" \"$REMOTE\" //t
合并命令:
\"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsdiffmerge.exe\"
合并参数:
\"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m
Visual Studio 差异工具未启动。你能看看吗?
更新:-
We should use like below:-
Diff Command:
full path of vsDiffMerge.exe
For VS 2015 and below you can find it in the Visual Studio installation folder, under Common7\IDE subfolder. Visual Studio 2017 has it slightly more hidden. Look under Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer.
Diff Argument: "$LOCAL" "$REMOTE" "Source" "Target" //t
Merge Argument: $LOCAL" "$REMOTE" "$BASE" "$MERGED" //m