SVN错误:NO LOCK TOKENS AVAILABLE

When the SVN gives the message that no lock tokens available, then it means that the SVN server has the lock information for the file but there is no relevant client who is known as the owner of lock.  Usually this lock token issue comes up to me when I have moved the files to some other location or renamed the file.

Currently I follow below steps to break the lock in SVN server

  1. Find the file which has no-lock-token using the SVN commit window.
  2. Go to the respective folder of that file and look for SVN logs and search for that file to filter the various results.
  3. Out of the results, select the top result and right click to get “Update items to the revision” for that folder.
  4. Now, go to the folder in window explorer and click on “Check for Modification” in SVN context menu.  Then in the SVN Modification window, click “Check Repository” to get information from SVN at that commit version.  This leads SVN to load with information about the various files in the SVN server at that moment.
  5. Then, in the Lock column, find if there is someone holding the lock for that specific file.
  6. If the lock is there, then right click on that file and break the lock.
  7. If the lock is not there, then repeat the above steps to next result form step 3.  There should be some SVN version where lock is held by someone else.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值