working copy locked

Jun 3, 2008 at 11:43 AM
i've got a multi-threaded sort of use and i'm getting lots of 'working copy locked' when i interrupt a thread that is doing a checkout.

is there some trick/whatever that i can do to interrupt a checkout and not get this locked state? can i clear it somehow? can i detect it?
Jun 3, 2008 at 11:44 AM
should I call client.Cleanup(dir) ? or will that also result in the locked error?
Jun 3, 2008 at 11:52 AM
LOL i think a cleanup was not the way to go

i got

Additional information: Write-lock stolen in 'd:mypath\'

now :)

appreciate any comments on the best way to solve this. i hope the answer is not 'just don't interrupt updates' ...
Jul 10, 2008 at 1:33 PM
Hmmm, I haven't tried using this multi-threaded, but I know that SVN uses a lot of file-based locking, so it might not be possible from an SVN perspective. I would ask on the SVN mailing list... let me know what you find out