SVN: Attempted to lock an already-locked dir
来源:互联网 发布:网络侦探 中文进化表 编辑:程序博客网 时间:2024/04/30 04:30
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://www.egtheblog.com/?p=137
- SVN错误:Attempted to lock an already-locked dir
- SVN: Attempted to lock an already-locked dir
- SVN Attempted to lock an already-locked dir
- Attempted to lock an already-locked dir svn: Working copy
- svn 错误 Attempted to lock an already-locked dir
- SVN错误:Attempted to lock an already-locked dir
- SVN 提交出错:Attempted to lock an already-locked dir
- SVN错误:Attempted to lock an already-locked dir
- SVN错误:Attempted to lock an already-locked dir
- SVN错误:Attempted to lock an already-locked dir
- Attempted to lock an already-locked dir svn
- SVN错误:Attempted to lock an already-locked dir
- SVN错误:Attempted to lock an already-locked dir
- SVN Attempted to lock an already-locked dir异常解决方法
- SVN-Attempted to lock an already-locked dir错误
- SVN错误:Attempted to lock an already-locked dir
- SVN 提交出错:Attempted to lock an already-locked dir
- svn Attempted to lock an already-locked dir
- 如何定位导致Crash的代码位置
- java文件上传
- 2010-2-10
- 修改mysql的root密码的几种方法
- C++编码中减少内存缺陷的方法和工具
- SVN: Attempted to lock an already-locked dir
- Joomla XML 解析器规范 【转】
- 曾经的百度面试
- MYSQL初学者使用指南
- jQuery用法笔记
- DLC-HD20P
- Servlet生命周期
- debug tips
- Internet Explorer无法打开internet站点文件.....操作终止