Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN Repository Structure - Why is this better?

Tags:

svn

I've been told that most development shops have the following structure or at least close to this:

  • Main Repository
    • Project folders underneath
    • Each Project folder has a trunk, branches, and tags folder

so:

ReponsitoryMain
    Project1
        branches
        trunk
        tags
    Project2
        ...

So why is this better or best? What happens or what heartaches have you come across if you did it another way?

like image 285
PositiveGuy Avatar asked Jul 31 '09 18:07

PositiveGuy


People also ask

Why we use SVN repository?

SVN is used to manage the current and previous versions of files like source code, documentation, and files. It acts as the time machine for the developers and allows them to go back and browse the history of the project.

What is a SVN repository?

A Subversion repository — abbreviated SVN repository — is a database filled with your code, files, and other project assets. A SVN repository maintains a complete history of every change ever made.


1 Answers

Most people do this because it's recommended by the Subversion book.

Here's a good explanation from the director of the CollabNet Subversion project:

http://blogs.collab.net/subversion/2007/04/subversion_repo/

like image 89
ire_and_curses Avatar answered Sep 19 '22 01:09

ire_and_curses