Discussion:
Set CVS to Ignore Case as a File Difference Upon UPDATE
Jiver
2009-09-03 20:59:21 UTC
Permalink
I am trying to use CVS (specifically WinCVS) to manage a VB6 project.
VB6 has the annoying problem of changing the case of variables across
many files without warning. This leads to many files being out of
sync with CVS when the only difference is the case of variable names.

I know that the cvs diff function can be set to ignore case and white
space changes. However, this doesn't really help when I cannot set
cvs update to ignore the same things.

What am I missing? Does CVS support ignoring case-only changes in
files?

Thanks.

-- Gary
Arthur Barrett
2009-09-04 06:13:48 UTC
Permalink
Gary,

If you are using WinCVS then are you using CVS or CVSNT (NoT CVS)?

CVSNT mailing list is here:
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

I know we've discussed the pro's and con's of file format specific rules, but it is not currently available.

A workaround would be to run a code 'beautifier' before checkin so that the format was always consistent.

I've never seen Visual Studio or any other IDE change the contents (eg: UPPERCASE to TitleCase) any file ever without specific user intervention (or a preference), but VB6 was a long time ago (though I still fire up VS6 for old VB projects once a month or so).
info-cvs-bounces+arthur.barrett= on = behalf of Jiver
1970-01-01 00:00:00 UTC
Permalink
In CVS 1.12 it gets even more difficult because of the checksums - two =
'identical' files in your scenario would have different checksums..

Regards,


Arthur Barrett



-----Original Message-----
From: info-cvs-bounces+arthur.barrett=3Dmarch-***@nongnu.org on =
behalf of Jiver
Sent: Fri 9/4/2009 6:59 AM
To: info-***@nongnu.org
Cc:=09
Subject: Set CVS to Ignore Case as a File Difference Upon UPDATE

I am trying to use CVS (specifically WinCVS) to manage a VB6 project.
VB6 has the annoying problem of changing the case of variables across
many files without warning. This leads to many files being out of
sync with CVS when the only difference is the case of variable names.

I know that the cvs diff function can be set to ignore case and white
space changes. However, this doesn't really help when I cannot set
cvs update to ignore the same things.

What am I missing? Does CVS support ignoring case-only changes in
files?

Thanks.

-- Gary

Loading...