Re: Multiple projects
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 4 Apr 2011 13:18:34 -0500
On Apr 4, 2011, at 11:15, pcr_at_pcrt.us wrote:
> I am new to svn and confused about setting up a repository to be used for several projects. I set up a repository on my desktop using the command svn create /usr/svn/repos by analogy with the command for repository creation given in appendix A of the subversion online book, which uses /var/svn/repos. (is it okay not to use /var?)
You can store the repository anywhere you like.
> How should this have been for multiple projects? Perhaps svn create /usr/svn/projectA/repos? Or svn create /usr/svn/repos/projectA or should the project directory be under trunk? Do you see my problem? Thanks for your help.
The repository is just a filesystem. Use it however you like: put one project in it or put multiple projects in it. If it's just holding a single project, then people usually create directories "trunk", "branches" and "tags" directly at the root of the repository. If the repository holds multiple separate projects, then you'll probably want the root of the repository to contain a directory for each project, and each of those directories will then contain "trunk", "branches" and "tags". If the repository holds multiple related projects that are branched and tagged together and share the same version numbers, then you may want the "trunk", "branches" and "tags" directories at the root, and the project directories underneath the trunk. These are all only suggestions. It's just a filesystem, so arrange it any way that makes sense to you.
This is an archived mail posted to the Subversion Users mailing list.