![]() ![]() | ||
| Home>>>>> | ||
Notes on creating and setting up a subversion repositoryQuick Table of Contents
1. Create the repositoryChoose a repository root, all subversion files will exist inside here. svnadmin.exe create /d/svnrepo 2. Project structureDecide on the subversion project structure. We opted for multiple repositories, because we have different projects with different people working on them. See this entry on repository layout. You have to decide on many to one projects to repository, or one to one project to repository. 3. Migrate repository from CVSGo to http://cvs2svn.tigris.org/, and download cvs2svn. Take a copy of your existing CVS respository and place it locally so you can run the cvs2svn script. We had decided that each CVS module will become one subversion repository, and that we wanted our subversion repository to be inverted. This allows people to easily checkout the project they are working on. 4. Migrate each module separatelyFor each module, run cvs2svn for each module: e.g. /cvs2svn -s /d/svnrepo/magicmonster.com /f/home/cvs/magicmonster.com 5. edit svnserve.conf for each repositoryFor now, we are running this in cygwin, so it contains:
anon-access = none
password-db = passwd
Remember that you have to do this configuration for each repository | ||