gpt4 book ai didi

linux - 克隆存储库时 SVN 崩溃

转载 作者:太空宇宙 更新时间:2023-11-04 09:34:36 24 4
gpt4 key购买 nike

当我尝试克隆 SVN 存储库时,SVN 因断言失败而崩溃。

[user@localmachine repositories]$ svn co https://svn.example.org/path/to/repository/
Authentication realm: <https://svn.example.org:443> Authorization Realm
Password for 'user': **********

svn: subversion/libsvn_subr/dirent_uri.c:1050: svn_dirent_join_many: Assertion `svn_dirent_is_canonical(base, pool)' failed.
Aborted (core dumped)

我在我的机器上运行 Arch Linux:

[user@localmachine repositories]$ uname -a
Linux localmachine 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux

SVN 是从 pacman 安装的最新版本:

[user@localmachine repositories]$ svn --version
svn, version 1.8.11 (r1643975)
compiled Dec 30 2014, 06:07:08 on x86_64-unknown-linux-gnu

我在谷歌搜索时没有找到任何有值(value)的信息。

这是一个错误吗?

如果是,与 Arch Linux 构建或 SVN 版本有关吗?

我应该(以及在哪里)提交错误报告吗?

还是我只是遗漏了什么?

在另一台机器上一切正常。在机器上它失败了,它也不能使用 HTTP 而不是 HTTPS。

最佳答案

SO link声称它是由您的 repo URL 中的尾部斜杠引起的:

Subversion API 在内部使用规范的 URL 和路径。您的 URL 有尾部斜杠,这不是规范 URL。在调用 Subversion API 函数之前删除尾部斜杠或使用 svn_uri_canonicalize() 函数规范化 URL。

关于linux - 克隆存储库时 SVN 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27979665/

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