To anyone still having this issue (Error: Working copy '{DIR}' locked.), I have your solution:
I found that when one of TortoiseSVN windows crash, it leaves a TSVNCache.exe that still has a few handles to your working copy and that is causing the Lock issues you are seeing (and also prevents Clean Up from doing it's job).
So to resolve this:
Either
1a) Use Process Explorer or similar to delete the handles owned by TSVNCache.exe
1b) ..Or even easier, just use Task Manager to kill TSVNCache.exe
Then
2) Right click -> TortoiseSVN -> Clean up. Only "Clean up working copy status" needs to be checked.
From there, happy updating/committing. You can reproduce Lock behavior by doing SVN Update and then quickly killing it's TortoiseProc.exe process before Update finishes.
本文介绍了一种解决TortoiseSVN中工作副本锁定错误的方法。当TortoiseSVN窗口崩溃时,可能会导致TSVNCache.exe进程残留并锁定工作副本,阻止清理操作。解决步骤包括终止TSVNCache.exe进程,然后使用TortoiseSVN的清理功能来释放锁定。
1万+

被折叠的 条评论
为什么被折叠?



