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

Re: subversion checkout failed on windows system

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-21 21:13:56 CEST

On Apr 21, 2006, at 19:59, Andy Levy wrote:

>> I create repository using file system. Two files are added and
>> committed in
>> repository with same name like "Test.php " and "test.php" from
>> different
>> working directory. This happened by mistake. Now when I checkout that
>> repository I got error "Can't open file". The repository is case-
>> sensitive
>> and windows file system is case-insensitive, so this problem
>> occurred.
>> Currently I resolve the problem to delete one file from repository.
>>
>> I don't known, is it bug or enhancement?
>>
>> I hope this issue may solve in next SVN release. So this kind of
>> mistake
>> does not create problem on windows box.
>
> What problem are you asking to be solved? SVN being case-sensitive is
> not a problem - that Windows isn't case-sensitive is the true problem.
> SVN won't become case-insensitive, I don't even see it being made an
> option in the future. Too much chance for problems.
>
> The real solution is to simply not introduce this case-clash if any
> client will be on Windows. There is a hook script floating around
> that will check for this condition (2 files with the same name,
> different case) and alert you at commit time. I think it's called
> check-caseinsensitive.py or something to that effect.

Right. Subversion is case-sensitive. If you want it to behave in a
case-insensitive manner, install the pre-commit hook script and it's
done. See also this FAQ entry:

http://subversion.tigris.org/faq.html#case-change

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 21 21:15:13 2006

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.