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

Re: README and readme are the same file in windows,but the different in Linux

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 7 Jul 2011 21:55:08 -0400

On Thu, Jul 7, 2011 at 21:42, Nico Kadel-Garcia <nkadel_at_gmail.com> wrote:
> On Thu, Jul 7, 2011 at 7:02 AM, Andy Levy <andy.levy_at_gmail.com> wrote:
>> On Thu, Jul 7, 2011 at 06:58, zhiwei chen <zhiweik_at_gmail.com> wrote:
>>> I create two files, README and readme in Linux,then commit to svn server.
>>> But when I checkout in windows from svn server,you can imagine what will
>>> happened.
>>
>> Windows complains that the file already exists when attempting the
>> second file and the checkout stops, last time I checked. Is there a
>> question about this behaviour buried somewhere in your email that I
>> missed?
>>
>> The solution is to disallow filenames that only differ by case if you
>> expect users to check out to case-insensitive filesystems.
>
> Does anyone have pre-commit that will do this? Because it's not a rare
> problem for our Windows users.

case-insensitive.py
http://svn.apache.org/viewvc/subversion/trunk/contrib/hook-scripts/
Received on 2011-07-08 03:56:21 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.