Equivalence mode not working

Support for our DiffMerge utility.

Moderator: SourceGear


Posts: 3
Joined: Fri Nov 18, 2011 12:44 am
PostPosted: Fri Nov 18, 2011 12:55 am
I'm finding that files that should be marked as "equivalent" in folder diff are showing up as "different". I started with a .cpp , .bas and a .vbs file, made duplicates of each, and then modified white space in the second copy of each. For the vb files I also changed the case of a few identifiers. All program settings are default, which if I understand things correctly, should be giving me what I want, but it's not.

When I bring them into file diff, they are processed correctly.

Are there additional settings I need to change?

Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
PostPosted: Fri Nov 18, 2011 9:35 am
I just did the same tests here and everything worked as expected.

Look at page "Folder Windows > Equivalence Mode" in the Options
Dialog. At the top there is "File Equivalence Mode". Set it to the
3rd option "Exact Match or Ruleset" and you should be good to go.

This option causes the folder scan to be much slower on large trees.

Let me know if this doesn't fix the problem.

jeff

Posts: 3
Joined: Fri Nov 18, 2011 12:44 am
PostPosted: Fri Nov 18, 2011 11:46 am
I checked my options and they are as you specified. Still not working. I've attached the files I'm working with.
Attachments
Files.zip
(9.3 KiB) Downloaded 167 times

Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
PostPosted: Fri Nov 18, 2011 12:16 pm
The problem is blank line (about line 19) inserted in the
second version of the VB source files.

Having it there causes the folder view's equivalence filter
to think they are different. I know this sounds weird, but
that's what's going on.

I'm not sure why I had it work that way, but I'll log it to
revisit it.

thanks
jeff

Posts: 3
Joined: Fri Nov 18, 2011 12:44 am
PostPosted: Fri Nov 18, 2011 12:50 pm
Thanks. Great program overall!

Return to Support (DiffMerge)

Who is online

Users browsing this forum: No registered users and 3 guests