Mr. Boy
Mr. Boy

Reputation: 63836

TortoiseSVN Switch errors

I'm trying to switch an existing trunk check out to a specific branch, I get this error:

Can't move 
'C:\Work\project123\include\.svn\tmp\all-wcprops' 
to 
'C:\Work\project123\include\.svn\all-wcprops': 
The file or directory is corrupted and unreadable.

I've run cleanup but no change.

Upvotes: 1

Views: 698

Answers (2)

Stefan
Stefan

Reputation: 43575

This is a known bug in Window 7, slated to be fixed in SP 1:

http://subversion.wandisco.com/blogs/windows-7-bogus-errorfilecorrupt-error-.html

There is now a hotfix available:

http://support.microsoft.com/kb/982927/en-us

Upvotes: 5

detunized
detunized

Reputation: 15299

If you don't have any local modifications, just delete C:\Work\project123\include, update to get a fresh copy and then switch again. Please backup first!

Update: One of the reasons could be that the files in C:\Work\project123\include\.svn\tmp got locked by an antivirus or some indexing service. To find out which process has handles to these files you can use Process Explorer's search function.

Upvotes: 5

Related Questions