[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Switching off file compression for JPEGs in the repository

From: Mike Mason <mgm_at_thoughtworks.net>
Date: 2004-11-17 05:17:07 CET

Cassimatis, Jim wrote:

> Subversion uses a binary differencing algorithm to compress both binary
>
> and text files in the repository. Some binary files that we use are
>
> JPEGs, which are already compressed, so compressing them again
>
> is a waste of time and CPU power, especially when the files are big.
>
>
>
> Is there a way of switching off file compression for files with a specific
>
> extension or type or is there some other way around this problem?
>
>
>
Subversion doesn't actually do compression, it does binary differencing
(like you said). So if you check in an updated file, Subversion will
attempt to find the smallest binary diff between the two revisions, and
then store that. I think this binary diff work actually goes on on the
client, rather than the server. If you check in a new file Subversion
will just store it, it won't do any compression on it.

Are you seeing a specific problem with this, or are you just worried it
might affect you in future?

Cheers,
Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 17 05:17:49 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.