Subversion Repository Layout
- by Tim Long
Most subversion tools create a default repository layout with /trunk, /branches and /tags. The documentation also recommends not using separate repositories for each project, so that code can be more easily shared.
Following that advice has led to me having a repository with the following layout:
/trunk
/Project1
/Project2
/branches
/Project1
/Project2
/tags
/Project1
/Project2
and so on, you get the idea. Over time, I've found this structure a bit clumsy and it occurred to me that there's an alternative interpretation of the recommendations, such as:
/Project1
/trunk
/branches
/tags
/Project2
/trunk
/branches
/tags
So, which layout do people use, and why? Or - is there another way to do things that I've completely missed?