Attempted to lock an already-locked dir异常解决方法 .

  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

解决方法:

1、在客户端命令行使用命令 svn cleanup D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource


2、直接进入到上面的文件夹下的.svn目录,删除lock文件就可以了

心得体会:

 D:/Program Files/MyEclipse 6.6flex/workspace/emis/WebRoot/emis/emresource该目录就是源程序所在目录,也可以通过svn同步报错来看到实际路径。.svn为隐藏目录,需要先“显示隐藏文件”

猜你喜欢

转载自weal666.iteye.com/blog/1704203