gpt4 book ai didi

svn - 解决 Subversion 错误 E235000 - 无法再更新

转载 作者:行者123 更新时间:2023-12-02 11:58:51 25 4
gpt4 key购买 nike

我正在使用最新版本的 Subversion (SVN v1.7.5),突然之间,我无法再更新。当我尝试更新时,我得到:

E235000:第 1538 行断言失败

这导致我无法更新现有的工作副本。有什么建议吗?

最佳答案

节点处理中存在错误,某些条件被错误地标记为无效。

最好的选择是从头开始重建 SVN。从 Apache.org 下载源代码并对源代码进行以下更改:

$ diff -u update_editor.orig update_editor.c 
--- update_editor.orig 2012-04-26 13:02:08.000000000 +0900
+++ update_editor.c 2012-05-30 02:27:24.000000000 +0900
@@ -1578,9 +1578,8 @@
/* When the node existed before (it was locally deleted, replaced or
* edited), then 'update' cannot add it "again". So it can only send
* _action_edit, _delete or _replace. */
- SVN_ERR_ASSERT(action == svn_wc_conflict_action_edit
- || action == svn_wc_conflict_action_delete
- || action == svn_wc_conflict_action_replace);
+ ;
+
else if (reason == svn_wc_conflict_reason_added)
/* When the node did not exist before (it was locally added), then 'update'
* cannot want to modify it in any way. It can only send _action_add. */

最后,您可以使用以下命令仅构建客户端(而不是服务器):

./configure \
--without-berkeley-db \
--without-apache \
--without-apxs \
--without-swig \
--with-ssl

make

make install

您可能最好使用 src2pkgcheckinstall 等工具代替“make install”命令,以便稍后轻松卸载它。这个补丁并不理想,但它完成了工作。

来源:

关于svn - 解决 Subversion 错误 E235000 - 无法再更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10936111/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com