SVN 签出失败,提示 URL 格式错误

发布于 2024-08-04 23:38:14 字数 304 浏览 10 评论 0原文

我尝试在 RedHat Linux 上使用 subversion 签出文件,但签出失败,提示 URL (http/https) 格式错误或方案、主机或路径丢失。

我现在不确定还需要什么配置/设置?

我能够正确 ping http(s) 站点。

命令:

svn checkout --username kdeshpa https://teamforge.wal-mart.com/svn/repos/demo

如果我运行 svn log ,它会显示(svn:'.'不是工作副本)。

I am trying to checkout files using subversion on RedHat Linux but the checkout fails saying URL (http/https) is malformed or the scheme or host or path is missing.

I am not sure now what more configuration/setup is needed?

I am able to ping the http(s) site properly.

Command:

svn checkout --username kdeshpa https://teamforge.wal-mart.com/svn/repos/demo

If I run svn log, it cribs saying (svn: '.' is not a working copy).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

安人多梦 2024-08-11 23:38:14

看起来是 SSL 握手问题。必须使用“no-asm”配置构建 openssl,并且它能够在安全层上签出。

It looks that SSL handshake issue. Had to build openssl with "no-asm" configuration and it was able to checkout on secured layer.

冷弦 2024-08-11 23:38:14

(奇怪的是,我不允许对此问题发表评论,所以我会回答。)

您是否尝试安装 neon 软件包?
您可以在这里找到来源:http://www.webdav.org/neon/

当我最近从头开始编译 SVN 客户端,我无法使用 HTTP 连接到 SVN 存储库。安装 neon 后,我重新编译,我的 SVN 客户端能够使用 HTTP 连接到 SVN 存储库。

(Oddly, I am not allowed to comment on this issue, so instead I will answer.)

Have you tried to install the neon package?
You can find the source here: http://www.webdav.org/neon/

When I compiled an SVN client from scratch recently, I was unable to connect to an SVN repo using HTTP. After installing neon, I recompiled and my SVN client was able to connect to an SVN repo using HTTP.

云雾 2024-08-11 23:38:14

您需要安装 neon,并使用 SSL 支持进行编译。在 Solaris 上,我将以下标志传递给 Neon 的配置脚本: --enable-threadsafe-ssl=posix --with-ssl=openssl

You need to have neon installed, and compiled with SSL support. On Solaris I pass the following flags to Neon's configure script: --enable-threadsafe-ssl=posix --with-ssl=openssl

绝影如岚 2024-08-11 23:38:14

我在使用简单 HTTP 的 SVN 存储库中遇到了同样的问题,解决方案也很简单。我必须修改 PATH 环境值。我的 /opt/subversion/bin 是 PATH 中的最后一个条目,因此我已将其移到前面。问题解决了。

我从这里得到了这个想法: http://svn.haxx.se /users/archive-2010-06/0094.shtml

I had the same problem with SVN repo using simple HTTP and the solution was also simple. I had to modify the PATH environment value. My /opt/subversion/bin was the last entry in the PATH so I have moved it into the front. The problem solved.

I have got the idea from here: http://svn.haxx.se/users/archive-2010-06/0094.shtml

夜雨飘雪 2024-08-11 23:38:14

尝试

$which svn

查看当前使用 svn 的路径。现在尝试一下,

$where svn

看看您的本地系统中是否存在所有其他版本的 svn。尝试通过编辑 $PATH 将您正在使用的 svn 指向不同的 svn。

我实际上使用了 svn 的不同版本,这对我有用。

Try,

$which svn

See the path from which svn is being used currently. Now try,

$where svn

And see if at all other versions of svn are present in your local system. Try pointing the svn you are using to a different one by editing the $PATH.

I actually used a different version of svn and that worked for me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文