Search code examples
tortoisesvnvisualsvn

Creating multiple svn repos on single SVN Server


I got SVN Server setup for Project A which is all good. I now need to setup another repository in the same server for Project B.

Any guidelines please?


Solution

  • You have installed a server and setup a project in it, I believe in the following manner:

    http://svn.exampel.com/repos/
    |
    |- ProjectA 
       |
       |- branches
       |- tags
       |- trunk
    

    To add another repository in the same server, just go to the root directory and create another folder structure like this:

    http://svn.exampel.com/repos/
    |
    |- ProjectA 
       |
       |- branches
       |- tags
       |- trunk
    |
    |- ProjectB
       |
       |- branches
       |- tags
       |- trunk
    

    Simple!. There is no other configuration invoved and you can start using them as seperate repositories. This is called a Multi-Repisotory Layout.

    NOTE: The revision number will be shared with both of these, i.e., the revision number is for a complete tree and there will be a unified revision number for both the projects