-1

I just installed Subversion (from CollabNet) on a Windows 2008 machine.

I created a test repo named, 'test`.

Using TortoiseSVN, I can browse to this URL:

http://dev1-new/svn/test

But I can not browse to:

http://dev1-new/svn

The error I get is:

Unable to connect to repository at URL ....
Repository moved temporarily to ....
Please relocate

Also notice I'm using http and not svn. I can't get anything to work using the svn protocol. So I wonder if there is a firewall blocking it? If so, what ports do I need to tell IT in order to allow it?

cbmeeks
  • 233

3 Answers3

2

But I can not browse to: http://dev1-new/svn

Correct, you can't browse a repository that doesn't exist.

I can't get anything to work using the svn protocol.

Yep, either a firewall issue or you didn't install the service... Couldn't tell which without you filling in the exact details of the installation and doing some troubleshooting yourself.

Chris S
  • 78,455
1

If you can successfully browse to http://dev1-new/svn/test, then it's not a firewall issue. All the necessary ports are open, namely 80.

the /svn path is mapped to the location of your repositories, e.g., C:\SVN_repositories. When you append /test to the URL, the server then looks for the repository test on the file system (e.g., C:\SVN_repositories\test).

Thus, when you access the url http://dev1-new/svn, it doesn't know which repository to serve to you.

You have two options, both involve changing the Apache configuration:

  1. In the <Location /svn> section of your config, change SVNParentPath "C:/SVN_repositories/" to SVNPath "C:/SVN_repositories/test"
  2. Add an Apache alias for /svn to /svn/test so that both URLs work and access the same repository
1

Configure Apache to show a directory listing for the parent path (this should be in the same location as the SVNParentPath directive):

SVNListParentPath On

I'm not completely sure that Tortoise's browse feature will understand this, but that should allow the listing of all repos in the parent path.

Shane Madden
  • 116,404
  • 13
  • 187
  • 256