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

AW: Case insensitivity in svn?

From: Robert Schneider <r.schneider_at_weingartner.com>
Date: 2005-07-01 12:59:24 CEST

Hi Rob,

> I can't speak for SVN developer, but I prefer my source control system
> to be case sensitive (for all those languages that are case
sensitive),
> so I'll not press them for case insensitivity.
>
> Even with the VB commands and variables being case insensitive, the
data
> e.g. user prompts and displays, would look silly "If TyPeD lIkE tHiS"
-
> it would be useful to see when and who made such a change.

In the link I've provided in the last post you can read a good
description of the problem. But I will try to repeat it:

I create one VB-File that includes a variable xyz. Later I create
another
file that has a variable XYZ (upper case!). When I have done this the
variable xyz of the first files gets changed to XYZ. They are still two
different variables but VB can only remember one notation (and that
really
sucks!!!!!!!). But the original variable xyz of the first file is still
not
really changed. First, it is only displayed as XYZ. Even when I close
the
project I'm not asked if I want to save the first file. So if I look
into
the files with an simple editor like Notepad I see two different
notations,
what is all right. However, if I have created my second file with the
var-
iable XYZ and then I do something in the first file (adding some comment
or something else), so I have to save this first file, then the xyz is
really changed to XYZ (also visible with notepad). Even without changes,
just when I save the file in the VB-IDE the change is done.

If I now want to commit the changes I have more changes that do not come
from me. It is the work of VB. And this is unhandy. When I use a diff
program then I see always changes which are not interesting for me.

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).

> Although it's not strictly on topic, try WinMerge2.2 if you want a
case
> insensitive comparison.
> Edit | Options ... "Compare" tab.

Does this program handle this? But since I'm new to svn: Does svn use
this program to see the differences so a changed state would not be
set when just a letter has changed the case? Or are external diff pro-
grams are only to visualise differences?

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 1 13:03:32 2005

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