git-svn fetch时RA层请求失败

栏目: 编程工具 · 发布时间: 7年前

内容简介:当通过代理访问SVN repo时,我遇到了同样的问题.我的解决办法是编辑〜/ .subversion / servers并将需要的代理添加到[全局变量]部分.取消注释相关行(http-proxy-host,http-proxy-port,可选http-proxy-username和http-proxy-password),并在其中输入所需的信息.这是需要的,因为git svn使用〜/ .subversion / servers中存储的设置访问SVN存储库.

我使用git svn与subversion repos进行同步:

$mkdir prj && cd prj
$git svn init http://url/to/repos/branches/experimental
$git svn fetch

并收到错误消息:

RA layer request failed: OPTIONS of 'http://url/to/repos/branches/experimental':
Could not read status line: connection was closed by proxy server 
(http://url/to/repos) at /usr/bin/git-svn line 1352

为什么和如何解决这个问题?

当通过代理访问SVN repo时,我遇到了同样的问题.

我的解决办法是编辑〜/ .subversion / servers并将需要的代理添加到[全局变量]部分.取消注释相关行(http-proxy-host,http-proxy-port,可选http-proxy-username和http-proxy-password),并在其中输入所需的信息.

这是需要的,因为git svn使用〜/ .subversion / servers中存储的设置访问SVN存储库.

代码日志版权声明:

翻译自:http://stackoverflow.com/questions/750120/ra-layer-request-failed-while-git-svn-fetch


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Coding the Matrix

Coding the Matrix

Philip N. Klein / Newtonian Press / 2013-7-26 / $35.00

An engaging introduction to vectors and matrices and the algorithms that operate on them, intended for the student who knows how to program. Mathematical concepts and computational problems are motiva......一起来看看 《Coding the Matrix》 这本书的介绍吧!

html转js在线工具
html转js在线工具

html转js在线工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试