SVN Attempted to lock an already-locked dir异常解决方法
Attempted to lock an already-locked dir异常解决方法
eclipse或myeclipse用svn提交的时候报错:
Attempted to lock an already-locked dir
svn: Working copy 'D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource' locked
org.tigris.subversion.javahl.ClientException: Attempted to lock an already-locked dir
svn: Working copy 'D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource' locked
解决方法(4种):
1、直接找到该项目右键TortoiseSVN--->Clean up...
2、在客户端命令行使用命令 svn cleanup D:/Program Files/MyEclipse/workspace/proj/WebRoot/(被锁定的文件夹)
3、直接进入到上面的文件夹下的.svn目录,删除lock文件就可以了
4、直接在eclipse中 项目右键 team - 清理(cleanup)