.svn/tmp 目录可能丢失或损坏;请执行“svn cleanup”

简介:

今天在checkout spring的源代码的时候,出现如下提示:你的 .svn/tmp 目录可能丢失或损坏;请执行“svn cleanup”,然后重试

【注】svn co https://src.springframework.org/svn/spring-framework/tags/spring-framework-3.0.4.RELEASE

之前也曾经遇到过,都是绕道通行,实在郁闷。今天实在忍无可忍,探索+google了一把,终于把问题搞定了。

经过在Windows上进行测试,现在应该解决了这个问题了。 
总结一下,是由于我曾经在目录 D:\codes\sourcecodes\git\...,目录结构非常的深,导致在windows下svn对长度的存在一些问题。

解决方案:多退几级目录, 减少目录长度,再进行checkout。 例如:D:\codes>svn co https://src.springframework.org/svn/spring-framework/tags/spring-framework-3.0.4.RELEASE/

 

=======================================================

可能有用的信息:http://groups.google.com/group/blog-mover/browse_thread/thread/b0c9da1e6f16ce9e

经过在Windows上进行测试,现在应该解决了这个问题了。 
总结一下,是由于我曾经在目录 
blog-mover-src\blog-mover-bsps\blog-mover-bsps-com.blogcn\src\test\java\com \redv\blogmover\bsps\com\blogcn 
下建立了一个文件,其文件名大概是 
blue_log_ct.asp_action_edit_id_52108763_UserID_32361141_uid_blogmoverdev_db ID_3_t_2007%2D2%2D1+12%3A54%3A12.html_wd3_init.html 
而这个曾经会在svn的svn-base中需要记录,鉴于该文件名太长,导致Windows(包括Windows XP,Vista)无法处理。 

经过将这个目录删除后重建(目的是切断该目录的历史,让svn-base中不再有这个长文件名)解决了这个问题。 

这个问题在FreeBSD等类似操作系统下不存在。 
我顺便鄙视一下Windows。 



本文转自 tianya23 51CTO博客,原文链接:http://blog.51cto.com/tianya23/588728,如需转载请自行联系原作者

相关文章
|
数据库管理
SVN 执行cleanup报错:Cleanup failed to process the following paths : 解决方法
引用:https://www.cnblogs.com/pinpin/p/11395438.html 在SVN更新时提示文件被锁住了,要求执行 clean up操作,执行clean up时又报clean up failed。造成的原因是在某次更新后,点击了cancel按钮,操作没有完成所以会锁住。解决方法如下:
3449 0
|
数据库 数据库管理
【异常解决】svn报“Previous operation has not finished; run ‘cleanup‘ if it was interrupted”的错误解决方案
【异常解决】svn报“Previous operation has not finished; run ‘cleanup‘ if it was interrupted”的错误解决方案
2103 0
|
Android开发
svn: E155004: There are unfinished work items in ‘D:\workspace\xxx‘; run ‘svn cleanup‘ firs
svn: E155004: There are unfinished work items in ‘D:\workspace\xxx‘; run ‘svn cleanup‘ firs
405 0
svn: E155004: There are unfinished work items in ‘D:\workspace\xxx‘; run ‘svn cleanup‘ firs
idea集成svn、安装目录、无svn.exe、(有图具有说服力)
idea集成svn、安装目录、无svn.exe、(有图具有说服力)
698 0
idea集成svn、安装目录、无svn.exe、(有图具有说服力)
Error:svn:E155037:Previous operation has not finished; run ‘cleanup‘ if it was interrupted(完美解决)
Error:svn:E155037:Previous operation has not finished; run ‘cleanup‘ if it was interrupted(完美解决)
763 0
Error:svn:E155037:Previous operation has not finished; run ‘cleanup‘ if it was interrupted(完美解决)
|
Shell 测试技术 Python
Python 一键commit文件、目录到SVN服务器
Python 一键commit文件、目录到SVN服务器
628 0
|
数据安全/隐私保护
【SVN】关于SVN创建多个版本库共用权限和密码并且设置钩子同步web目录
【SVN】关于SVN创建多个版本库共用权限和密码并且设置钩子同步web目录
320 0
【SVN】关于SVN创建多个版本库共用权限和密码并且设置钩子同步web目录
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
460 0
svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决办法
|
缓存 Apache 数据库
SVN无法CO检出web目录
SVN无法CO检出web目录
246 0
SVN无法CO检出web目录
|
开发工具 git Windows
SVN / Git提交空目录 / 空文件夹问题解决方案
在windows操作系统下面用bat实现,遍历空目录然后给空目录添加空的index.html
800 0
SVN / Git提交空目录 / 空文件夹问题解决方案