Setting up a local subversion repo
First create the repository
$ svnadmin create /home/subversion/name_of_project
Then checkout thisproject into the directory where you’d like to work on it.
$ svn checkout file:///home/subversion/name_of_project /home/me/my_project
If you’re wanting to checkout this repo onto another server using SSH you can do this but running:
$ svn co svn+ssh://username@your.remote-server.com/home/subversion/name_of_project /home/me/my_project
In many cases none standard SSH ports are used, which can cause a problem connecting in this way, personally I resolved this by modifying my ~/.ssh/config like this:
[your.remote-server.com]
User my_username
Port 12345
This means that when you SSH to your SVN repo you’ll always connect using the username my_username and the SSH port 12345.



No Comments Comments Feed
Add a Comment