WinMerge HowTo: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with '== Link with Bazaar Explorer == See the description on Bazaar how to link WinMerge to Bazaar: [[How_to_work_with_bazaar_through_the_GUI_on_Windows#Setup_your_environment|Setup yo…')
 
Line 31: Line 31:
f: \.xfrm ## ??
f: \.xfrm ## ??
f: \.bak$ ## backup
f: \.bak$ ## backup
f: \-generated.
f: \-generated. ## ignore generated files


d: \\cvs$ ## CVS control directory
d: \\.svn$ ## Subversion control directory
d: \\.bzr
d: \\.bzr
d: \\delivery
d: \\delivery

Revision as of 11:33, 11 March 2011

Link with Bazaar Explorer

See the description on Bazaar how to link WinMerge to Bazaar: Setup your environment

Compare two branches

First open WinMerge, and install a new filter: Go in the menu to Tools, Filters, New. Paste the following code:

## This is a directory/file filter template for WinMerge
name: OpenPetra Filter
desc: Filter useful for OpenPetra, ignores some directories and files

## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include

## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)

f: \.aps$ ## VC Binary version of resource file, for quick loading
f: \.bsc$ ## VC Browser database
f: \.dll$ ## Windows DLL
f: \.exe$ ## Windows executable
f: \.obj$ ## VC object module file
f: \.pdb$ ## VC program database file (debugging symbolic information)
f: \.res$ ## VC compiled resources file (output of RC [resource compiler])
f: \.suo$ ## VC options file (binary)
f: \.cache$ ## ??
f: \.resources$ ## Compiled resource file.
f: \.xfrm ## ??
f: \.bak$ ## backup
f: \-generated. ## ignore generated files

d: \\.bzr
d: \\delivery
d: \\tmp
d: \\log

Now File/Open, and select the 2 directories. Tick Include Subfolders. Select the OpenPetra Filter.

In View menu, you can prevent the identical files to be shown, same for binary files.

You can store this as a project, in File/Save Project, to remember your settings.