Proper syntax for svn import on Ubuntu.

svn import /home/myfiles/source file:///home/svn/myrepository -m “initial import”

The first directory after ‘import’ are where all your code are. file:/// is where the repository will be located.

Here is a handy tutorial.

Starting an svnserve daemon:

svnserve -d –listen-port=xxxx -r /home/svn/repository

Now test it out with a list:

svn ls svn://yy.yyy.yy.yy:xxxx
(where yy is your ip address xx is your port.)

Post a Comment

*
*