SharpSVN Work Copy Locked (cleaning does not clear)

I am using SharpSVN as part of a server solution. The program reads the revision from the configuration file; if it does not match, it updates the specified revision.

It seems to work correctly on my development machine, but when I push it to my server, I get the error "Working copy XXXXXXX". "TortoiseSVN can update wc correctly. TortoiseSVN for cleanup also works fine."

I tried to catch a "blocked" error and call "unlock", but this function indicates that wc is not blocked. I also tried to catch the error and cause a "cleanup" from SharpSVN, but this results in an error indicating "attempt to write a read-only database".

I uninstalled the working copy of SVN and reinstalled. I moved it to new places. I changed the permissions. I changed the read-only flag. Nothing worked.

This is similar to some other errors, but most of them have been resolved using "cleanup" or removal.

Any suggestions, ideas?

+6
source share
1 answer

Perhaps this was a problem with TortoiseSVN or a combination between TortoiseSVN and SharpSVN. After coding the check in my program, which will first check the code before any subsequent updates, it seems to work correctly.

Thanks.

+1
source

All Articles