簡體   English   中英

VS2010使用WinMerge,但TFS2010的Pending Changes選項卡使用DiffMerge

[英]VS2010 uses WinMerge but TFS2010's Pending Changes tab uses DiffMerge

從VS2010開始,如果我從上下文菜單中選擇比較,則使用WinMerge,但是當在VS(Pending Changes選項卡)中與TFS2010工具合並時,它堅持使用非常糟糕的defautl diffmerge工具。

我在哪里配置TFS以使用我自己的差異/合並工具?

http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/

配置Visual Studio

在Visual Studio的“工具”>“選項”菜單下打開“源代碼管理”>“Visual Studio Team Foundation”。
單擊“配置用戶工具...” ,“配置用戶工具”對話框將可用。

不要忘記重新啟動Visual Studio以加載配置。

下載reg文件 ,導入regedit.exe,你就完成了! 或者,如果要在Visual Studio中手動執行此操作,請執行以下操作:

Click on Tools menu
Click on Options menu item
Expand Source Control tree item
Select Visual Studio Team Foundation Server tree item
Click on Configure User Tools... button

對比

要使用WinMerge作為比較/差異工具:

Click the Add... button
For Extension, type *
For Operation, select Compare
For Command, browse for C:\Program Files\WinMerge\WinMerge.exe
For Arguments, type /x /e /ub /wl /dl %6 /dr %7 %1 %2
Click OK to accept

合並

要將WinMerge用作合並工具:

Click the Add... button
For Extension, type *
For Operation, select Merge
For Command, browse for C:\Program Files\WinMerge\WinMerge.exe
For Arguments, type /x /e /ub /wl /dl %6 /dr %7 %1 %2 %4
Click OK to accept

注意:您需要在退出屏幕之前單擊WinMerge合並中工具欄上的“保存”按鈕以提交合並

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM