I have been using tortoise svn for a couple weeks now.

I get errors very often. Almost everything I do creates an error. this is with repositories on the internet, locally on my machine or a machine on the network. So I started to keep track. Some examples are below.

12/31/2010

Can't move 'C:\Users\jisaacks\Desktop\my branch test.svn\tmp\entries' to 'C:\Users\jisaacks\Desktop\my branch test.svn\entries': The file or directory is corrupted and unreadable.

01/04/2011

Commit failed (details follow): Server sent unexpected return value (405 Method Not Allowed) in response to MKCOL request for '/svn/kranichs-svn/!svn/wrk/b316f15e-0869-4644-9c53-87aa0103506b/branches'

01/06/2011

Can't move 'C:\Users\jisaacks\Desktop\DVD Catalog\vendors.svn\tmp\entries' to 'C:\Users\jisaacks\Desktop\DVD Catalog\vendors.svn\entries': The file or directory is corrupted and unreadable.

01/06/2011

Can't move 'C:\Users\jisaacks\Desktop\DVD Catalog\cake\tests\test_app\views\layouts.svn\tmp\entries' to 'C:\Users\jisaacks\Desktop\DVD Catalog\cake\tests\test_app\views\layouts.svn\entries': The file or directory is corrupted and unreadable.

01/06/2011

Commit failed (details follow): attempt to write a readonly database attempt to write a readonly database

That last one about the read only database happens every time I commit. Say if I am working on the head revision (7) in a working copy. I make a change and commit it. It gives me this error. But if I look at the log it tells me that there is now a revision 8 (the commit I just made) but I am still on revision 7. So I need to run update to be on the current revision that I just commited. I hope I explained that clearly.

Anyways with all these errors I wonder.. Is TSVN just this unstable, does everyone have these issues. Or is it just me? If just me, what could I be doing wrong?

link|improve this question

69% accept rate
What is giving you the copy errors? It sounds like Windows, not Tortoise. If the server is giving you errors (405, writing to a read-only db), there might be something wrong with it. – Nick T Jan 6 '11 at 21:47
1  
Are you running Win7? From a ServerFault question, apparently Windows 7 has problems copying svn directories. The fix was released a while ago; are you updated? – Nick T Jan 6 '11 at 21:49
@Nick yes I am on win7 I will update my version of TSVN and see if that helps. Thanks. – John Isaacks Jan 6 '11 at 21:56
@Nick I updated my version of TSVN, I am not getting the error when I commit tho, however I still need to update after a commit to be on the current Revision I just created. – John Isaacks Jan 7 '11 at 15:02
feedback

2 Answers

I have seen this problem on a colleague's PC, it turned out that it was Microsoft Security Essentials corrupting the files downloaded by TortoiseSVN. As soon as we disabled it, the problem disappeared and the SVN checkout was fine.

I suggest to temporarily disable your antivirus and try again.

link|improve this answer
I will try this next week when our system admin is back in the office. Thanks – John Isaacks Jan 7 '11 at 15:03
feedback

Have you tried blowing away the entire directory structure, and getting a new copy?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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