How to checkout remote svn branch locally


I have installed svn on my local ubuntu. I'm connected to my Solaris box via VPN so I can access it via a local network IP. How can I checkout a branch from the svn on solaris to get it into my local svn?

I tried:

svn checkout file:///

but is says: svn: Unable to open an ra_local session to URL

I have also tried:

svn checkout svn://
svn: Can't connect to host '': Connection refused

Why refused? The ping to works just fine.

Best Solution

Try replacing file:/// with svn://.

file should only work if your repository is one the same machine as you. svn: is the "real" over-the-network protocol.

svn: is appropriate if your Solaris box is an svn server. But the path to the repository should be determined by the server. Something a lot closer to svn://