WinMerge HowTo

From OpenPetra Wiki
Revision as of 11:32, 11 March 2011 by Pokorra (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

d: \\cvs$ ## CVS control directory
d: \\.svn$ ## Subversion control directory
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.