I have just installed Subversion (Collabnet). The documentation explains how to create repositories which i have done but i cant figure out how to create a specific layout. I want to create this layout
c:\repositories
+- MyProjectRepository
+- project1
+--- trunc
+--- branches
+--- tags
+- project2
+--- trunc
+--- branches
+--- tags
+- project3
+--- trunc
+--- branches
+--- tags
The documentation only allows me to create a new repository from a template which produces this layout:
c:\repositories
+- MyProjectRepository
+-- project1
+--- trunc
+--- branches
+--- tags
How can i achieve the first layout? i.e. multiple projects in a single repository.
Are the 3 directories considered as special directories? For example, if i create the directory structures manually, will subversion recognise these directories? i.e. if i create a tag while in project3, the tag link will be associated to project3/tags.
Thanks
Subversion will accept any directory structure you want. Simply check out the repository you created from the top level of the repository, and then remove the existing structure. You can then set up the directories you like (in any configuration) and then just commit your new structure back to the repository.
Note: This will only work cleanly for a new (empty) repository. A repository with changes already will be a bit messier, but the idea is still the same.