You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sridhar Davuluru <Sr...@videon-central.com> on 2009/09/09 23:34:55 UTC

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

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 -

[cid:image002.png@01CA3183.DFF6A300]

This failure occurs when attempt to checkout a directory structure as below -

[cid:image001.png@01CA3184.9BA4BFB0]

Please let me know for any additional information.

Thanks
Sri

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Keith Moore <Ke...@securency.com>.
From: Sridhar Davuluru [mailto:Sri.Davuluru@videon-central.com]
Sent: Thursday, September 10, 2009 9:35 AM
To: users@subversion.tigris.org
Subject: Issue with checking out folders with same name but case sensitive - Cannot distinguish difference between \a and \A

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 -

[cid:image002.png@01CA31FC.42DC64A0]

This failure occurs when attempt to checkout a directory structure as below -

[cid:image003.png@01CA31FC.42DC64A0]

Please let me know for any additional information.

Thanks
Sri
--------------------------------------------------
Your problem is caused by the fact that the subversion repository is case sensitive, some file systems are case insensitive.  One such file system is NTFS, the file system of Windows Vista.

Given the screenshots you sent of your repository layout there is no way to checkout the terminfo directory to a case insensitive file system.  How you handle this going forward depends on your requirements/environment.  You can use the svn rename command to rename the A (or a) directory directly on the repository.


#####################################################################################
Attention:
The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you received this in error, please contact the sender and
delete the material from any system and destroy any copies.
#####################################################################################

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Sridhar Davuluru <Sr...@videon-central.com>.
Thank you for your suggestions - We will use pre-commit hooks as suggested by Johan

Thank you,
Sri

-----Original Message-----
From: Johan Corveleyn [mailto:johan.corveleyn@uz.kuleuven.ac.be]
Sent: Thursday, September 10, 2009 5:05 AM
To: 'Andy Levy'; Sridhar Davuluru
Cc: users@subversion.tigris.org
Subject: RE: Issue with checking out folders with same name but case sensitive - Cannot distinguish difference between \a and \A

> Van: Andy Levy [mailto:andy.levy@gmail.com]
> On Wed, Sep 9, 2009 at 19:34, Sridhar
> Davuluru<Sr...@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=2393350

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

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

Posted by Johan Corveleyn <jo...@uz.kuleuven.ac.be>.
> Van: Andy Levy [mailto:andy.levy@gmail.com]
> On Wed, Sep 9, 2009 at 19:34, Sridhar
> Davuluru<Sr...@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@subversion.tigris.org].

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

Posted by Andy Levy <an...@gmail.com>.
On Wed, Sep 9, 2009 at 19:34, Sridhar
Davuluru<Sr...@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.

Rename one of the folders via the Repository Browser or command-line
(using repository URLs directly) so that you don't have a
case-insensitive name collision & checkout/update again.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].