I’m in the process to learn Subversion, and so far I’ve learned one thing or two, and I’ve just created a Google Code account and a svn repository to store a simple project, my problem is how to organize my svn repository. Imagine I’ve just created a android project named “Hello World” and his test project named “Hello World Test”, should a import both the projects into my repository’s trunk? It makes sense to put my test project into the repository trunk too?
Share
In Local File Ssytem:
The best approach Google recommended is, from Official Dev Guide:
In SVN Repository:
The whole point of subversion is for teamwork, the best approach is no doubt using trunk/tags/branches structure:
How do we use it usually:
From my own experience, the most efficient and reasonable structure (used for both local file system and version control system) for a group of projects is Maven’s Multi-Module Project, check out this samples in GitHub.