Subversion client errors caused by inappropriate repository URL

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 and later

The Subversion 1.11.x and later clients display 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 repository URL by clicking the Checkout button.

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

  1. On the VisualSVN Server web interface, navigate to the desired repository path.
  2. Click the Checkout button at the top right-hand side of the web interface and copy the repository URL to clipboard.

  3. Paste the repository URL to your Subversion client program.
Last Modified: