首页 > 编程知识 正文

svn地址浏览器访问不了

时间:2023-05-06 07:37:52 阅读:209114 作者:2544

Symptoms

Subversion client displays the following error message when trying to address the repository using an inappropriate URL copied from the web browser's address bar.

Subversion 1.11.x

The Subversion 1.11.x client displays the following error message:

svn: E170013: Unable to connect to a repository at URL 'https://svn.example.com/!/%23MyRepo/'
svn: E175003: The server at 'https://svn.example.com/!/%23MyRepo/' does not support the HTTP/DAV protocol
Subversion 1.9.x and 1.10.x

The Subversion 1.9.x and 1.10.x clients display the following error message:

svn: E170013: Unable to connect to a repository at URL 'https://svn.example.com/!/%23MyRepo/view/head/paint/trunk'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: no element found
Subversion 1.8.x

The Subversion 1.8.x client displays the following error message:

svn: E175002: Unexpected HTTP status 405 'Method Not Allowed' on '/!/%23MyRepo/view/head/paint/trunk'
svn: E175002: Additional errors:
svn: E175002: PROPFIND request on '/!/%23MyRepo/view/head/paint/trunk' failed: 405 Method Not Allowed
Cause

The error indicates that the URL used to address the repository using Subversion client is inappropriate.

Most likely, the URL was copied from the web browser's address bar when exploring the repository through the web interface of VisualSVN Server. Subversion client programs are not capable of handling the syntax of such URLs. The appropriate URLs should be obtained by clicking the Checkout button in the web interface.

Resolution

When you are going to check out a working copy or one way or another use a Subversion client to access a repository, you should obtain the appropriate Subversion repository URL by pressing the Checkout button.

Follow these steps to obtain the Subversion repository URL that can be used with a Subversion client program:

On the VisualSVN Server web interface, navigate to the desired path in the Subversion repository. Click the Checkout button at the top right-hand side of the web interface. Copy the repository URL to clipboard. Paste the repository URL to your Subversion client program. Last Modified:  November 18, 2016 <div class="clear"> </div> </div>

————————————————

如果你觉得本人的文章对你有所帮助,客官慢走赏瓶水喝

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。