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


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

查看所有标签

猜你喜欢:

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

Beginning ARKit for iPhone and iPad

Beginning ARKit for iPhone and iPad

Wallace Wang / Apress / 2018-11-5 / USD 39.99

Explore how to use ARKit to create iOS apps and learn the basics of augmented reality while diving into ARKit specific topics. This book reveals how augmented reality allows you to view the screen on ......一起来看看 《Beginning ARKit for iPhone and iPad》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具