SVN 签出失败,提示 URL 格式错误
我尝试在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
看起来是 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.
(奇怪的是,我不允许对此问题发表评论,所以我会回答。)
您是否尝试安装 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.
您需要安装 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
我在使用简单 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
尝试
查看当前使用 svn 的路径。现在尝试一下,
看看您的本地系统中是否存在所有其他版本的 svn。尝试通过编辑 $PATH 将您正在使用的 svn 指向不同的 svn。
我实际上使用了 svn 的不同版本,这对我有用。
Try,
See the path from which svn is being used currently. Now try,
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.