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

RE: Issue with checking out folders with same name but case sensitive - Cannot distinguish difference between \a and \A

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Thu, 10 Sep 2009 11:05:18 +0200

> Van: Andy Levy [mailto:andy.levy_at_gmail.com]
> On Wed, Sep 9, 2009 at 19:34, Sridhar
> Davuluru<Sri.Davuluru_at_videon-central.com> wrote:
> > Title: Issue with checking out folders with same name but case
> sensitive -
> > Cannot distinguish difference between \a and \A
> >
> > Operating system: Windows Vista 32bit
> >
> > The release and/or revision of Subversion : TortoiseSVN -
> > TortoiseSVN-1.6.5.16974-win32-svn-1.6.5.msi
> >
> > Bug Description:
> >
> > Check out fails with the following error -
> >
> > This failure occurs when attempt to checkout a directory
> structure as below
>
> There is no bug, there is nothing in Subversion to "fix".
>
> Windows filesystems are case-preserving, but not case-sensitive.
> Subversion is case-sensitive. In Windows, a == A. In Subversion, a
> !=
> A.

Having two items in the repository that only differ in case, is indeed something that Subversion cannot do much about. There is just no way to check that out on a case-insensitive file system. So, if you have a mixed environment (some case-sensitive clients and some case-insensitive clients), you have to make sure that nobody commits items in the repository that only differ in case. You could put in place a pre-commit hook that prevents such case-clashing commits: http://subversion.tigris.org/tools_contrib.html#case_insensitive_py
(you'll need the python bindings to be installed on your server)

That said, there are related issues around case-(in)sensitivity that could be improved in SVN. Like being able to rename a file to another name only differing in case, on a case-insensitive file system. That should be possible (and is part of the issue http://subversion.tigris.org/issues/show_bug.cgi?id=667). Let's hope this will be fixed in WC-NG ...

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2393183

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-10 11:06:37 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.