Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion project structure?

When creating projects for subversion should each individual project contain its own trunk, branches and tags directories? eg.

MyProject 1
- branches
- tags
- trunk
MyProject 2
- branches
- tags
- trunk
etc...

OR should each project itself go inside an all-encompassing structure? eg.

branches
tags
trunk
- MyProject 1
- MyProject 2
etc...

like image 226
Will Avatar asked Dec 09 '25 15:12

Will


2 Answers

Option 1 would be a lot simpler to split in to a different form of source control should the need arise, and is therefore what I would prefer.

It also seems to me that it would be easier to manage project-wide permissions in the first option.

like image 74
Allie the Icon Avatar answered Dec 12 '25 09:12

Allie the Icon


Both approaches are common, although the first option is more common.

Even more common is to set up separate repositories for separate projects - people just can't stand the idea of having "unrelated" stuff in "their" repository.

like image 34
Martin v. Löwis Avatar answered Dec 12 '25 09:12

Martin v. Löwis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!