tags:

views:

458

answers:

3

I need to merge a forked project. Unfortunately, the CVS $Id lines are different so the merge tools I tried report that all the files are different (and 95% of them have only this line different)

Is there a merge tool that can be configured to ignore line comparison results based on a pattern ?

[edit] I discovered that WinMerge has line filters - setting up them correctly actually works.

Francesco

A: 

CompareIT allow to use regular expression matching. I used it for automatically generated code comparison and it was very useful.

Ilya
+1  A: 

I use meld, which can use regex filters to ignore. It has some preset ones you can select including CVS keywords. The regex it uses for that BTW is:

\$\w+(:[^\n$]+)?\$

You can get meld on any linux distro or download from here: http://meld.sourceforge.net/ I'm not sure how it's supported on windos, but I do know kdiff3 supports windows so you could give it a try there: http://kdiff3.sourceforge.net/

pixelbeat
A: 

well you could use cvs update -kk whick does not expand the $words.

of course this is still a problems the $log which is expanded on commits and not updates.

Sally