tags:

views:

38

answers:

2

We are planning to create a multi level repository with the following structure

RepositoryRoot
    |
    --- Framework
    |      |
    |      --- ArchitectureProj1
    |      |
    |      --- ArchitectureProj2
    |
    --- Application
           |
           --- Project1
           |
           --- Project2

But how do I create such a repository using the svnadmin command. The documentation of the command shows the creation of the repository and then immediately go on to create projects. But nothing much on creating a custom folder structure (outside of the project)

So I created the repository, Now I know how to create the project as well. But I need to create the structure as depicted above before I start creating the projects. Any help would be appreciated.

+1  A: 

As almost everything else in Subversion, the structure you describe can (only) be accomplished by creating regular directories inside your repository, using your favourite client (not svnadmin). My advise is that you create the folder structure somewhere on your hard disk and then run a svn import command. After that, coders will just need to checkout the repository path for their project.

Álvaro G. Vicario
Thanks Alvaro...
Enlighted Mind
+1  A: 

Just create the structure inside the repository by using the

svn mkdir URL....

Or simpler create the structure on Harddrive and later import that structure into the repository via

svn import ....
khmarbaise