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

 发布日期:2018-10-18 11:50:20  阅读次数:阅读数:96  来源:
版权声明:本文为博主原创文章,未经博主允许不得转载。 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 服务 右键属性 先停止服务之后,再设置登陆,设置桌面交互或者管理员权限 

如果您有好的新闻与建议,欢迎点击文章投稿

    发表评论

    电子邮件地址不会被公开。

  • 内容

  • 网名