背景:
阅读新闻

Using WinMerge as a Visual Source Safe 5.0 diff tool

  作者: 今日评论: [字体: ]

I faced lot of trouble when i do difference between  two versions in VSS, it is not specifying what exactly the change is. So i thought of exploring how to use one of the best open source diff tool to make this.

In this post i am going to explain how can we integrate WinMerge’s diff tool with VSS 5.0.

Pre-Requisites:

1. VSS 5.0 installed

2. Winmerge 2.12.4 installed.

Steps:

1. Open VSS by entering valid User name, password and connect to a Visual Source Safe database.

2. Go to Tools>Options.

3. In options dialog go to the “Custom Editors” tab by clicking on the spin button (< >)

4. Click on the Operations combo box.

5. Select “File Difference”

6. In File Extension edit box: enter file extension to use (Ex: .*) for all file types.

7. In Command Line edit box: enter the installation location of the WinMergeU.exe. on My machine.

Example:

C:\Program Files\WinMerge\WinMergeU.exe /e /x /wl /wr %1 %2

8. Click on add to add the custom edit to the list.

9. Click OK.

Now try to do the difference between two versions. It will open with the WinMerge diff tool with good colors.

Enjoy…

References:

1. http://manual.winmerge.org/Command_line.html

2. http://weblogs.asp.net/garrypilkington/archive/2009/12/16/winmerge-as-a-comparison-tool-in-visual-studio-2008.aspx

来源:
录入日期:[2018/03/17 3:02:00]
收藏 推荐 打印 | 录入:mikebai | 阅读:
文章评论      
正在加载评论列表...
评论表单加载中...