当我尝试将/ mkdir提交到存储库时,svn失败并显示:
svn: E120105: Error running context: The server sent an improper HTTP response
Subversion客户端详细信息 v1.8.10 :
$ svn --version
svn, version 1.8.10 (r1615264)
compiled Aug 9 2015, 13:48:39 on x86_64-pc-linux-gnu
Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- using serf 1.3.8
- handles 'http' scheme
- handles 'https' scheme
这是服务器详细信息 v1.6.17
$ svnadmin --version
svnadmin, version 1.6.17 (r1128011)
compiled Aug 13 2014, 20:41:52
Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
The following repository back-end (FS) modules are available:
* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.
我在prev问题中尝试了解决方案,~/.subversion/servers
文件包含行
http-bulk-updates = yes
但它没有效果。
另一方面,服务器可以接受来自svn v1.6 + ra_neon
任何想法,如何纠正?
答案 0 :(得分:0)
我遇到了同样的问题,也无法使用http-bulk-updates解决它。在我的情况下,它似乎是由我公司的代理引起的。基本上我的想法是:如果代理/防病毒/等干扰SVN客户端和服务器之间的HTTP通信,让我们简单地使用SSL隐藏它。这解决了我的问题。
如果你正在使用apache2和mod_dav_svn我推荐这篇文章: https://rbgeek.wordpress.com/2012/09/09/svn-server-on-ubuntu-with-https-access/
请注意,如果您的存储库位置是svn:// ...或http:// ...您可能需要重新定位到https:// ...之后。