用svn提交时,某个文件夹提交失败,显示missing (obsturcted)状态。

经查找网上有一些解决办法。可能是误删除了.svn目录(Subversion进行控制所依赖的.svn目录,是一个隐藏目录,里面包括了Subversion要用到的版本控制的信息),这一目录删除了之后,客户端便丢失了版本控制的信息,新建的目录名字又是和原来Subversion中一样的文件名,提交的时候一直出现某某目录“阻碍(obstructed)”或者某某目录不在版本控制之下,导致提交失败。

(1)Try a 'Clean Up' of the folder or the entire working copy.

(2)You've probably deleted/moved some files / directories directly from the file system, and not through SVN commands. This can sometimes lead to a directory becoming obstructed if it can not work out the differences against the repository.

Try performing a clean-up first, and if that fails, revert that directory and try use SVN commands for changing directory file structure (delete/move).

(3)

If the .svn sub-directory is missing the directory is marked obstructed as SVN has no way of knowing the directory's status any more. Most likely clean-up or revert isn't able to fix it, since local svn data is gone, so you got two options:

  1. rm the directory and update to get latest working copy
  2. if the directory contains valuable, changed stuff, check out the latest working copy in a temp directory and manually copy the missing .svn directories in place, then SVN is again able to make sense of it.

(4)it occurs when you have deleted or moved the .svn subdirectories (without going through SVN commands), so SVN has a corrupted view of the working copy.

Try a cleanup first, and if that doesn't solve it, revert (or update) the directory to restore the subdirectory .svn folders.

(5)

This means that, for some reason, a conflict has occurred during the operation. Check to see if there is an existing unversioned file or folder with the same name as a versioned one.

(Paraphrased from the Tortoise SVN client help file)

可以先将库里有冲突的文件夹删除,然后再在本地新建提交该文件?

参考:

http://svn.haxx.se/tsvn/archive-2005-10/0235.shtml
http://niyue.com/2005/07/
http://stackoverflow.com/questions/335980/what-causes-svn-commit-to-fail-and-report-a-file-dir-as-obstructed

[整理]svn commit obstructed相关推荐

  1. SVN commit,update用法

    您是否有過這樣子的經驗, 在編修檔案的過程中, 尤其是在撰寫程式檔, 突然改爛了, 而想說: 如果我有辦法知道剛才改了什麼地方有多好! 或是在一份大作業或者是專案的情況下, 須要多個人一同改一份檔案, ...

  2. svn commit 提示Aborting commit 失败问题解决办法

    最近在把分支上的代码合并到主干后,然后执行svn commit ,一直提示文件有冲突 build@QA1037:~/pro_workspace/dev/app/trunk/src/main/webap ...

  3. svn commit svn: E170001: Authorization failed

    svn ci 时报错: svn: E170001: Commit failed (details follow): svn: E170001: Authorization failed 可能导致的原因 ...

  4. svn commit 报错 -- “svn: E000013: Can‘t move, ... Permission denied“

    文章目录 背景 报错 解决 -- 更改 svn 项目目录权限解决 验证 -- 提交成功 参考 背景 配置 svn + http 方式,配置后通过 svn commit 提交,出现错误. 报错 [dev ...

  5. svn——svn commit 用法

    转载   原文:https://blog.csdn.net/qq_39790633/article/details/103700391 使用svn进行代码的提交有两种方法:一种是通过TortoiseS ...

  6. Svn commit failed aborting commit

    一.背景 在使用svn管理项目时,删除了文件夹"项目图纸"里面的内容,然后在这个里面新增了一些文件,出现标题中的问题Svn commit failed aborting commi ...

  7. svn篇之提交svn commit 提示Aborting commit 问题解决

    一.问题描述 通常会遇到一种情况,当提交svn commit的时候,把分支上的代码进行提交到主干时,一直提示提交失败 二.问题报错如下 build@QA1037:~/pro_workspace/dev ...

  8. xcode svn commit is not under version control 和 git常用指令

    使用Xcode提交一个第三方库时,由于包含资源文件,总是提交不了,提示报错:XXX commit is not under version control (1) 网上查了下,得知 xcode对于sv ...

  9. 如何解决SVN Commit failed (details follow): Access denied

    遇到问题:因工作需求,今天去项目组备份svn虚拟机.当A同事看到我,说:"你是来备份svn的吧,那我抓紧还有点数据准备提及."想等他提交完了,我再开始备份. 问题来了:A同事拿U盘 ...

最新文章

  1. 当今主流分割网络有哪些?12篇文章一次带你看完
  2. 有一群少年班的好朋友是什么感觉?快快快快快快疯掉了!
  3. ROW_NUMBER() OVER()函数用法;(分组,排序),partition by
  4. python语言及其应用-python语言及其应用
  5. javascript判断对象、字符串、数组是否为空(兼容绝大部分浏览器)
  6. 替换某个目录下的文本文件内容字符串
  7. springcloud分布式事务_Spring Cloud学习资源一网打尽!Awesome Spring Cloud v1.0
  8. boost::fusion::reverse用法的测试程序
  9. QT的QWizard类的使用
  10. SQL Server 中截取字符串常用的函数
  11. IIS7启动gzip压缩
  12. 一维转二维_Excel – 一维表和二维表相互转换,只要一个“=”搞定
  13. android 短信优先级,Android-消息机制
  14. Qt 70行代码实现控件任意拆分 选中控件水平垂直拆分 窗口分割
  15. 模拟数据生成工具--Faker
  16. 创业起步阶段需要注意的几点
  17. 豪杰超级解霸 V8.3 11月18日发布
  18. RL论文阅读20 - MF类算法总结(VPG, TROP, PPO, DDPG, TD3, SAC)
  19. 如何使计算机每隔X秒按一次键
  20. 大学四年,我因为使用这几个学习方法,成为了同学眼中的“大神”、BUG克星!

热门文章

  1. mysql Prepared Statements
  2. 《STL源码剖析》-- stl_stack.h
  3. k叉树的性质_二叉树的性质总结.doc
  4. MySQL 基础 -- MySQL 数据类型说明(数值类型、字符串类型、日期时间类型)、SQL通用语法和SQL分类
  5. 【网络同步】浅析帧同步和状态同步
  6. 欧几里得算法和扩展欧几里得算法——杨子曰数学
  7. 云服务器的IP是显示哪里,云服务器的ip在哪里看
  8. LWIP netconn TCP UDP测试 实例
  9. 什么是java线程?java线程模型的组成
  10. mysql配置文件生效测试