VB6 bas files ignoring ruleset case sensitivity

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
MattTrinder
Posts: 24
Joined: Tue Feb 12, 2008 8:07 am

VB6 bas files ignoring ruleset case sensitivity

Post by MattTrinder » Wed Jun 11, 2008 3:28 am

Hi

I am comparing .bas files using diff merge. The VB rule set has bas files listed as a file type, and "Case Is Important" is unchecked in the Default Rule set. However the diff is still highlighting lines with case changes as different - what am I missing here...
Attachments
diff.png
diff.png (37.99 KiB) Viewed 6370 times

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Turn on "Hide Unimportant"

Post by jeffhostetler » Wed Jun 11, 2008 6:47 am

Try turning on "Hide Unimportant" in the View Menu.

The various "... is Important" flags tells DiffMerge how to
highlight the changes. The default is to draw important
changes in bright colors and unimportant changes in dim
colors. The "Hide Unimportant" feature causes DiffMerge
to draw unimportant changes without colors (like the
identical sections).

I know this is somewhat confusing and an extra step, but
it gives you the ability to do stuff like hiding all changes in
comments or hiding whitespace changes in code but not
in string literals.

Hope this helps,
jeff

MattTrinder
Posts: 24
Joined: Tue Feb 12, 2008 8:07 am

Post by MattTrinder » Wed Jun 11, 2008 6:54 am

Thanks Jeff.

Does Vault recognise case sensitive changes on check in - ie in this example would it be checked in as a new version...?

Matt

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Yes.

Post by jeffhostetler » Wed Jun 11, 2008 7:21 am

The DiffMerge ruleset settings and Show/Hide Unimportant stuff
are completely contained within DiffMerge and only used to help
best show you what has changed and get unimportant stuff out
of your way.

Vault, on the other hand, will see any differences (in case or
otherwise) as changes and create a new version on checkin.

So, yes, in your example, Vault would see the file on the right
as changed and a candidate for checkin.

jeff

Post Reply