Difference between revisions of "Subversion"

From LinuxIntro
Jump to: navigation, search
Line 13: Line 13:
 
  svn co svn://localhost
 
  svn co svn://localhost
 
  Checked out revision 0.
 
  Checked out revision 0.
 +
 +
= See also =
 +
* http://queens.db.toronto.edu/~nilesh/linux/subversion-howto/

Revision as of 06:31, 8 October 2008

To set up a subversion server, install the subversion software. Then

useradd -m svn
groupadd svn

Find out where subversion expects its repository

/etc/init.d/svnserve start
Starting svnserve svnserve: Root path '/srv/svn/repos' does not exist or is not a directory.
                                                                     failed

Create the respective directory

svnadmin create /srv/svn/repos

Start the subversion server

/etc/init.d/svnserve start

Run it

svn co svn://localhost
Checked out revision 0.

See also