In our project we made the decision to reduce the build time by using pre-built binaries. Weekly/monthly we create a stable release and commit it to the repository. The build uses these binaries instead of building everything from source.
For build speed this is fantastic. But, unsurprisingly, it really bulks up the SVN checkout size. Our trunk currently sits at ~22 GB. I realize this is not the intended usage of Subversion. But we don't have an alternative at the moment.
But I'd like to improve the current situation. The .svn
folder makes a big contribution to the size of trunk on disk. When the binaries are updated, it seems to keep several bases in the .svn folder. That is, if a binary is 4 GB there is a copy in the .svn
. If it's updated then the .svn
folder holds the original base plus the new base and bulks up to 8 GB for that one file.
Is it possible to tell Subversion not to keep a base in the .svn
folder for certain files? Through google I found a similar question, How to decrease .svn folder size?.
The answer Simon received was
Luckily for me subversion 1.8 has been released. Was this feature added?
I did not notice it in the release notes. Though "Directory and property storage reduction" looks promising.