简体   繁体   中英

SVN locked in netbeans

I keep getting messages like these below whenever I try to commit , update or whatever.

svn: E155004: Working copy 'C:\Users\Mateusz\Documents\NetBeansProjects\futurenet\trunk\newproject' locked
svn: E155004: 'C:\Users\Mateusz\Documents\NetBeansProjects' is already locked.

I tried also to do cleanup as other topics suggest but still the same message. Could someone help me please?

Why this error raised

This is because the project folder is closed suddenly (without proper checkout) or some strange reasons like crashes

How to fix it

Way 1 : By doing svn cleanup from the command line

If the way 1 doesn't help

Way 2 : You can do a fresh SVN ie,

Cut the .svn that is inside the project folder to some other location

In Team->Subversion->Checkout Do a fresh checkout

Note 1 : You can choose any client such as Git or Mercurial and proceed the Regular Checkout Process

Note 2 : You can find the .svn folder again appeared in your project folder, it means you are done with fresh svn

Added screen for Reference

SVN

我在 Windows 上遇到了同样的问题,但是 netbeans svn 没有帮助,我使用了乌龟集成选项,在资源管理器中导航到项目的父级,右键单击项目文件夹/选择 TortoiseSVN/选择清理/检查 Break write locks 然后单击确定

SVN locked in netbeans

Try This

  1. Right click on locked file
  2. go to subversion option
  3. then go Working copy option
  4. then finally click on cleanup option

I hope this will solve issue thank you

In Netbeans, it's work for me.

在此处输入图片说明

Tortoise 的这个解决方案比其他解决方案更好。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM