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

Re: Windows case-sensitive filesystem issues

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-10-06 05:23:34 CEST

On Oct 5, 2006, at 17:17, Vineet Kumar wrote:

> Ryan Schmidt wrote:
>
>> On Oct 5, 2006, at 16:37, Eric Lemes wrote:
>>
>>> svnadmin create c:\svn\test
>>>
>>> svn checkout http://localhost:8080/svn/test test1
>>> copy c:\test.txt .\test.txt
>>> svn add test.txt
>>> svn commit -m "Test"
>>>
>>> del .\test.txt
>>> copy c:\test.txt .\TEST.TXT
>>> svn add test.txt
>>> svn commit -m "Test"
>>>
>>> svn checkout http://localhost:8080/svn/test test2
>>> A test2\TEST.TXT
>>> A test2\test.txt
>>> svn: In directory 'test2'
>>> svn: Can't copy 'test2\_svn\tmp\text-base\test.txt.svn-base' to
>>> 'test2\_svn\tmp\
>>> test.txt.tmp.tmp': The system cannot find the file specified.
>
>> The fact that you can have a local file called TEST.TXT, do "svn add
>> test.txt", and Subversion adds it to the repository as test.txt
>> instead of as TEST.TXT, is IMHO a bug.
>
> Is there a bug here? It looks like the second time, Eric typed
> "svn add test.txt", but the file was named TEST.TXT, and subversion
> added it as TEST.TXT. I agree that if subversion added it as test.txt
> that would be a bug, but I don't see any evidence that that's what
> subversion is doing.

$ cd /tmp
$ svnadmin create testrepo
$ svn co file:///tmp/testrepo testwc
Checked out revision 0.
$ cd testwc
$ touch FOO.TXT
$ svn add foo.txt
A foo.txt
$ svn ci -m ""
Adding foo.txt
Transmitting file data .
Committed revision 1.
$ ls
FOO.TXT
$ svn ls file:///tmp/testrepo
foo.txt
$

Working copy contains FOO.TXT but repository ends up containing
foo.txt == potential unpleasantness.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 6 05:24:23 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.