[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Case insensitivity in svn?

From: Marc Haisenko <haisenko_at_webport.de>
Date: 2005-07-01 15:42:54 CEST

On Friday 01 July 2005 14:47, Ryan Schmidt wrote:
> On 01.07.2005, at 12:59, Robert Schneider wrote:
> > So this is the reason why I want to make svn case insensitive. It
> > is only because of that damned VB6 (it seems to be solved in VB.NET/
> > Visual Studio 2005). But unfortunately I have to use VB6. I know it
> > is not perfect, E.g. relevant changes in strings would be ignored
> > (though strings should not be placed within the source files).
>
> This is a PEBKAC. The programmer needs to discipline himself to adopt
> a particular variable naming style and stick with it. It is not a
> problem a version control system should have to have anything to do
> with. I can think of plenty of languages where developers who change
> the case of something in a file would be doing so quite deliberately
> and would definitely want the version control system to track that
> change, just as it tracks most any other change.

To the last poster:

No, this is not PEBKAC but a problem with the developer tool (VB6).

Seriously, please don't descend to such mindless and useless trolling. If you
can't contribute to a useful solution please don't post.

To the original author:

If you were using UNIX, you could use "svn diff --diff-cmd='diff -i'" to check
whether something changed, case-insensitive. You could then write a script
that would run "svn status", and check with "svn diff --diff-cmd='diff -i'"
all files that are marked as changed whether a significant change happened
and then commit only those files...

I'm quite sure you can do something like this on Windows as well, but I have
no idea how scripting works on Windows... a last resort would be to install
Cygwin, then a lot more people could help you as you'd then have a UNIX-like
environment :-)

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 1 15:46:48 2005

This is an archived mail posted to the Subversion Users mailing list.