[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: dave b <db.pub.mail_at_gmail.com>
Date: Thu, 22 Jul 2010 17:10:01 +1000

On 22 July 2010 16:49, Stephen Butler <sbutler_at_elego.de> wrote:
>
> 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

That looks ok. However, this doesn't solve existing or future
repositories - unless this is applied by default or the default
triggers a warning :)

Perhaps if it is possible, svn on windows can use the posix api? - I
don't know how that works :)
The microsoft article linked a few mails back by Bob Archer states
that using the posix api it is possible to have cased file-names and
access.

--
O, it is excellentTo have a giant's strength; but it is tyrannousTo
use it like a giant.		-- Shakespeare, "Measure for Measure", II, 2
Received on 2010-07-22 09:10:59 CEST

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

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