Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trunk folder for Repository?

I am hashing out our structure for Subversion and have the standard structure that I think most people use which is using one repository and multiple folders for each project:

MainRepository
    Project1
       branches
       trunk
       tags
    Project2
       branches
       trunk
       tags
..and so on

My question is, do I need a trunk, branches, and tags folder for the root MainRepository? Why would you if you're checking out from the trunk of lets say Project1. I don't know if I need one or why you'd need a trunk folder or others in the actual root of the repo.

MainRepository
    Project1
       branches
       trunk
       tags
    Project2
       branches
       trunk
       tags
    ...
trunk
branches
tags
like image 781
PositiveGuy Avatar asked Aug 03 '09 14:08

PositiveGuy


1 Answers

You actually don't 'need' it. It's up to you (and your projects) what you need. A trunk folder in the root makes sense when you use a repo for each project instead of one repo for many projects, in which case you don't need a trunk folder in the root folder.

like image 157
sloth Avatar answered Oct 13 '22 12:10

sloth