Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to checkout remote svn branch locally?

Tags:

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.

like image 226
Thomas Avatar asked Feb 29 '12 07:02

Thomas


People also ask

How do I checkout from svn in terminal?

Open the SVN server, right-click on the repository and select the copy URL to clipboard (for the VIsualSVN server) and paste it on the command line. User credentials will be the same as what we set at the time of user creation. After every successful checkout operation, the output will print a revision number.


1 Answers

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.

like image 145
gbarry Avatar answered Oct 05 '22 18:10

gbarry