Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a project under SVN control. SVN and repository reside on a Linux Debian 6 server. On the server I have a working copy as well (for Apache to show the website for test purposes).

The checkout on the server (svn co /path/to/projectworkingcopy file:///path/to/repositories/project -m "First") worked like a charm with no problems at all.

On TortoiseSVN, the checkout starts and imports some files, then compains throwing an error on a filename; the error is like this:

'foldername/file_name_123_abc.jpg' is not valid as filename in directory 'C:\path\to\working\copy\project\dira\dirb'

And then it says Completed! without any other file being imported.

I searched on the internet but no solutions fit my problem. The folder that Tortoise can't checkout ha NO spaces, there are no spaces on filename, there are no files with dots (.) at the end of their name.

And, again: on the server the checkout had NO problems at all. That file exists on the server's working copy.

Update: I tried to checkout exluding the folder 'foldername' and is going well. Anyhow there are no spaces on the complete path to foldername, so I really can't understand why I get this error. And, I obviously NEED that folder!

Update: real path of one of the files causing errors:

"/var/project/site/public/www/images/auto/audi/120045_audi_A3__5858_t45e444.jpg"

What can I do? Thank you.

share|improve this question
    
doublecheck for spaces anywhere in path :) –  dusan.bajic Feb 7 at 9:58
    
@dusan.bajic there are no spaces AT ALL on the path.. That's the why I cannot understand why I get this error –  tobia.zanarella Feb 7 at 10:19
    
try another SVN client, to isolate problem between Tortoise and Windows itself –  dusan.bajic Feb 7 at 10:38
    
1. The question has to be asked at StackOverflow. 2. Show us the exact REAL path to the file. Some characters in the path are considered invalid on Windows while Linux accepts them. I guess we can narrow this down if we know the affected path. –  bahrep Feb 7 at 15:06
    
@bahrep Added. Thanks. –  tobia.zanarella Feb 13 at 16:58

1 Answer 1

It might be caused by the case insensitive filesystem in Windows (NTFS/FAT)

Try:

svn ls file:///path/to/repositories/project/site/public/www/images/auto/audi/|grep -i '120045_audi_A3__5858_t45e444.jpg'

And be sure it only outputs a single line.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.