博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SVN: Attempted to lock an already-locked dir
阅读量:4051 次
发布时间:2019-05-25

本文共 971 字,大约阅读时间需要 3 分钟。

So you’ve been working hard on your project and you’re ready to check in when all of a sudden Subversion throws you this weird error message: Attempted to lock an already-locked dir. “What the hell is this about?” you ask yourself. Well, Subversion is a really cautious fella and likes to bookkeep all of its transactions. So whenever you attempt to modify your working copy it’ll write its intentions to a log file, execute the commands in the log file, then remove the log file. If for one reason or another this process gets interrupted, this file still remains on disk.

So whenever Subversion ever tells you “Attempted to lock an already-locked dir”. You say nay, and type “svn cleanup” This command searches you current working copy re-runs any leftover log files and removes any locks in the process.

I personally use Subclipse, the SVN eclipse plugin. To get rid of this error in Subclipse, right-click the offending directory and click Team>cleanup.

Happy coding.

 

转载地址:http://irici.baihongyu.com/

你可能感兴趣的文章
WPF中PATH使用AI导出SVG的方法
查看>>
WPF UI&控件免费开源库
查看>>
QT打开项目提示no valid settings file could be found
查看>>
Win10+VS+ESP32环境搭建
查看>>
android 代码实现圆角
查看>>
flutter-解析json
查看>>
android中shader的使用
查看>>
java LinkedList与ArrayList迭代器遍历和for遍历对比
查看>>
drat中构造方法
查看>>
JavaScript的一些基础-数据类型
查看>>
转载一个webview开车指南以及实际项目中的使用
查看>>
android中对于非属性动画的整理
查看>>
一个简单的TabLayout的使用
查看>>
ReactNative使用Redux例子
查看>>
Promise的基本使用
查看>>
coursesa课程 Python 3 programming 统计文件有多少单词
查看>>
coursesa课程 Python 3 programming 输出每一行句子的第三个单词
查看>>
Returning a value from a function
查看>>
coursesa课程 Python 3 programming Functions can call other functions 函数调用另一个函数
查看>>
course_2_assessment_6
查看>>