wiki:create_svn_repository_of_freebsd
Unlike cvs mirror, to create svn repository is easy. Follow the document: http://people.freebsd.org/~peter/svn_notes.txt.
1. first, install svn
2. get the latest seed
$ rsync rsync://repoman.freebsd.org:50873/svnseed -rw-rw-r-- 1073359330 2008/06/02 03:33:04 svnmirror-base-r179480-PRE-CVS2SVN-FIX.tbz2 -rw-r--r-- 1067528318 2008/06/07 18:04:48 svnmirror-base-r179634.tbz2 -rw-r--r-- 1067498722 2008/06/07 18:54:22 svnmirror-base-r179637.tbz2 $ rsync -a rsync://repoman.freebsd.org:50873/svnseed .
3. unpack these files to repository direcotry, such as '/mirror/freebsd', maybe the latest file is enough.
4. svnsync sync file:/mirror/freebsd/base
5. start svnserve
$ svrserver -d -r /mirror/freebsd/base
6. check svn repository
$ svn info svn:localhost/base
Path: base URL: svn://localhost/base Repository Root: svn://localhost/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 185729 Node Kind: directory Last Changed Author: peter Last Changed Rev: 185729 Last Changed Date: 2008-12-07 11:33:36 +0800 (Sun, 07 Dec 2008)
7. checkout the source code
$ svn co svn://localhost/base/stable/7 ... ...
wiki/create_svn_repository_of_freebsd.txt · Last modified: 2008/12/07 06:52 by mirnshi