How good is Subversion at storing lots of binary files? [closed]

In my previous company we setup Subversion to store CAD files. Files upto 100 MB were stored in Subversion. If many people ‘add’ big files to Subversion webserver can be a bottleneck. However, incremental commits were perfectly ok. Subversion stored ‘binary delta’. In fact, on server side, binary and text files are treated exactly same … Read more

Should server/database config files, including passwords, be stored in source control?

There’s no single “silver bullet” answer here and it would all greatly depend on details. First of all, I consider best practice to separate all source code from configuration in separate repository. So, source code remains source code, but it’s installation or deployment (with configuration, passwords, etc) is the whole other thing. This way you’ll … Read more

How do I tell Subversion to treat a file as a binary file?

It is possible to manually identify a file located within a repository as binary by using: svn propset svn:mime-type application/octet-stream <filename> This is generally not necessary, as Subversion will attempt to determine whether a file is binary when the file is first added. If Subversion is incorrectly tagging a certain type as “text” when it … Read more