views:

53

answers:

1

I'm looking for an SVN diff tool which can ignore comments as changes, as well as exclude specific revision diffs for easier file comparison. For example, see below.

Version 1.

This is a sentence
Here is an address
What's going on here

Version 2.

1 This is a sentence
2 Here is an address
3 What's going on here

Version 3.

//added periods
1 This is a sentence.
2 Here is an address.
3 What's going on here.

Is there a diff tool for windows which can look at version 1, exclude 2, and 3, and produce a visual diff that shows only the periods? I've been working with simple mass refactoring, and it really clouds the forest from the trees.

+1  A: 

Scootersoft's "Beyond Compare" will allow you to exclude the comments easily enough - the Pro version allows for custom regex rules to define what should and shouldn't be considered a change - I've not used this functionality but it might help you getting a clear picture of the changes you want to see whilst excluding the noise. I'm not sure about ignoring changes made in particular revisions - you'd typically compare revision X to revision Y, or if you're me revision (n - 1) to revision n.

Will A
I'll check it out.
Stefan Kendall
It can definitely ignore a number of unimportant things by default. I believe I can suit this to meet my needs.
Stefan Kendall
Just watch out Stefan - after you've played with BC for a while, you'll love it. :)
Will A