前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >TortoiseSVN 从 GitHub 更新时发生异常

TortoiseSVN 从 GitHub 更新时发生异常

作者头像
mzlogin
发布2020-04-16 16:00:59
1.2K0
发布2020-04-16 16:00:59
举报
文章被收录于专栏:闷骚的程序员闷骚的程序员

问题描述

使用 TortoiseSVN 从 GitHub 仓库 Update 时,弹出错误提示对话框:

代码语言:javascript
复制
---------------------------
Subversion Exception!
---------------------------
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html

Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):

In file
 'D:\Development\SVN\Releases\TortoiseSVN-1.8.11\ext\subversion\subversion\libsvn_wc\update_editor.c'
 line 1550: assertion failed (action == svn_wc_conflict_action_delete)
---------------------------
确定   
---------------------------

推测发生原因可能是 GitHub 认为本地的目录结构与服务器冲突,因为能看到本地之前 Checkout 出来的一个文件夹显示未纳入版本控制,但是实际上服务器上这个文件夹一直存在在。

查到在一个 邮件列表 里说这是由 GitHub 的实现有点问题导致,但是,也如其它地方能查到的信息一样,并没有给出解决方案。

经过各种尝试,包括

  1. Clean up Clean up 本身能成功,但是再 Update 依然报错。
  2. 在一个新的文件夹 Checkout 没有问题。
  3. 删除可疑文件和文件夹,重新 Update。 依然报错。

无奈之下试了一下命令行,找到了解决办法。

解决方案

其实很简单,就是使用命令行

代码语言:javascript
复制
svn cleanup
svn update

就可以了,再使用 GUI 的 Update 就不会报错了。

为啥就好了仍然原因不明。

最新情况

后来又出现了一次这样的情况,在命令行 svn update 也不好使了,提示

代码语言:javascript
复制
svn: E155010: The node 'a/folder/path/' was not found.

忍无可忍,切回使用 git。

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2015/05/27,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 问题描述
  • 解决方案
  • 最新情况
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档