To my understanding it is only necessary to add files you work with once or regularly into the trunk. It seems wasteful and bulky to add files that never get touched to the trunk. Is this logic correct? And then if I eventually want to touch one of those files I can easily add it later on?
What is typically added to the trunk using svn
58 views Asked by Jared Eitnier At
3
There are 3 answers
0
On
You want to put into Subversion everything that defines you application. This way you will be able to build your project from what is in version control. This way you will be able to go back in time to see how your application was configured at any point in the past, this will save your butt someday.
Don't worry about storage. Subversion is very efficient. When you do a copy ("branch") in Subversion it only copies the directory and still points to the original files until they are changed. If they do never change then you will only have one copy.
Disk is cheap, your time and the time is expensive. Make it as easy as possible to build your project and to time travel. You will not regret it.
The rule of thumb is: anyone must be able to start from scratch, with a brand new computer, install the various development tools (compiler, IDE, database, etc.), checkout the trunk, and build the latest version of the project. All your sources go in the repository, except the sources that are automatically generated from other artefacts.