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

Re: BUG: when performing a checkout use the cased url as in the download URL

From: Stephen Butler <sbutler_at_elego.de>
Date: Thu, 22 Jul 2010 08:49:27 +0200

On Jul 22, 2010, at 7:10 , dave b wrote:

> On 22 July 2010 05:47, Bob Archer <Bob.Archer_at_amsi.com> wrote:
>>
>>> On 22 July 2010 03:12, dave b <db.pub.mail_at_gmail.com> wrote:
>>>> On 22 July 2010 02:58, Bolstridge, Andrew
>>>> <andy.bolstridge_at_intergraph.com> wrote:
>>>>>> -----Original Message-----
>>>>>> excuse to say "we told you so".
>> "NTFS supports two slightly different modes of operation that can be selected by the subsystem of the application interacting with NTFS. The first is fully case sensitive and demands that file names supplied by the application match the names stored on disk including case if the file on disk is to be selected. The second mode of operation is case preserving but not case sensitive. This means that applications can select files on the disk even if the supplied name differs in case from the name stored on the disk. Note that both modes preserve the case used to create the files. The difference in behavior noted here applies only when an application needs to locate an existing file. POSIX takes advantage of the full case sensitive mode, while MS-DOS, WOW, and Win32 subsystems use the case insensitive mode."
>>
>> http://support.microsoft.com/kb/100625
>>
>> I expect subversion runs within the Win32 subsystem and use the case insensitive mode.
>
> I am not sure. However, if you do a checkout and if there would be a
> conflict (which you can test for / check), then svn could potentially
> handle it differently to how it does currently iff the program / user
> wanted that :)
>

When developing cross-platform software, we recommend that the
Subversion admin install a hook script to enforce conventions such
as "no paths that differ only in case". There's a sample hook script
for just this purpose at

  http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/case-insensitive.py

Regards,
Steve

--
Stephen Butler | Senior Consultant
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
fon: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
Received on 2010-07-22 08:50:40 CEST

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