您当前的位置:首页 > ASP.NET > 文章详情

Visual Studio 2019 SVN提交时报错: Commit to xxxx Commit failed (details follow) locked

2021-02-051513人围观
SVN

使用 Visual Studio 2019 开发项目,SVN提交代码时提示错误:

Command: Commit to xxxxx
Error: Commit failed (details follow):  
Error: Working copy 'xxxxx' locked.  
Error: 'xxxxx' is already locked.  
Error: Please execute the 'Cleanup' command.  
Completed!:   

如下图:


出现这个问题,可能是你不小心给锁了,或者是非法关机导致的。解决方案如下:

前往你的SVN提示的目录上右键> Tortoise SVN > Clean up... 


在弹出的对话框中,将默认的的选项取消勾选,只选择 Break write locks ,点击OK,即可解除。


接下来就能正常的提交你的代码了。

文章评论

热门评论
暂无评论