Sunday, June 28, 2009

Create a repository in SVN of Linux

You can run the following command:
svnadmin create $repository-name

then the system will create a folder in your current directory named $repository-name.
Suppose the absolute path of the folder created above is,
e.g. /home/yourname/svn/test,
and the URL of the server is,
e.g. www.example.com

You can check out this repository using the command as follows:
svn co svn://www.example.com/home/yourname/svn/test
if you are on the same server, you can use the following command:
svn co file:///home/yourname/svn/test

No comments: