How to checkout remote svn branch locally

svn

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:///192.168.99.3/home/myproj/apps/repo/sjl

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

I have also tried:

svn checkout svn://192.168.99.3/home/myproj/apps/repo/sjl
svn: Can't connect to host '192.168.99.3': Connection refused

Why refused? The ping to 192.168.99.3 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://192.168.99.3/sjl.