You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nitin Vaishnav <ni...@gmail.com> on 2006/04/21 10:30:48 UTC

subversion checkout failed on windows system

Hi, ALL


OS: windows XP / windows 2003

Subversion release: 1.3.0



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.

Re: subversion checkout failed on windows system

Posted by Ryan Schmidt <su...@ryandesign.com>.
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

Re: subversion checkout failed on windows system

Posted by Andy Levy <an...@gmail.com>.
On 4/21/06, Nitin Vaishnav <ni...@gmail.com> wrote:
> OS: windows XP / windows 2003
>
> Subversion release: 1.3.0
>
>
>
> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org