svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/meimeieee/article/details/82817312

如果svn钩子包如下错误信息(svn: E155004):

post-commit hook failed (exit code 1) with output:
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Failed to lock working copy 'C:\xampp\htdocs\jiaowu'.
svn: E200031: sqlite[S8]: attempt to write a readonly database
svn: E200042: Additional errors:
svn: E200031: sqlite[S8]: attempt to write a readonly database

也有可能会出现下列错误(svn: E155004):

post-commit hook failed (exit code 1) with output: 
svn: E155004: Working copy 'D:\www\Test' locked 
svn: E200031: sqlite: attempt to write a readonly database 
svn: E200031: sqlite: attempt to write a readonly database 
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

原因:Visual SVN Server服务的执行权限不够,不能对指定目录做读写操作。

解决办法:修改Visual SVN Server ,简单操作 win+R  运行 services.msc 找到visual svn server 服务 右键属性 先停止服务之后,再设置登陆,设置桌面交互或者管理员权限 

猜你喜欢

转载自blog.csdn.net/meimeieee/article/details/82817312