I was wondering whether SVN actually compresses the binary content on the server during Commits? I know that the binary store the diffgrams for comparison and versioning but wondered whether a new file commited would occupy the same volume on the server as it does on the client pc?
+9
A:
I believe so.
From here: http://svn.collab.net/repos/svn/trunk/INSTALL
* libz (REQUIRED for client and server)
Subversion uses zlib for compressing binary differences.
These diff streams are used everywhere -- over the network,
in the repository, and in the client's working copy.
Eddie Parker
2009-01-19 16:29:07
+2
A:
Yes, Subversion compresses new files, as well as changes. (The server doesn't care if the file is text or binary.)
Note, however: if the file you are adding is already compressed (e.g. a zip archive, an mp3 file, a JPEG, a GIF) subversion won't be able to make it any smaller.
bendin
2009-01-19 16:31:26