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