[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: Raye Raskin <rayer_at_pobox.com>
Date: 2004-11-17 05:39:36 CET

----- Original Message -----
From: "Mike Mason" <mgm@thoughtworks.net>
To: "Cassimatis, Jim" <Cassimatis@ali.com.au>
Cc: <users@subversion.tigris.org>
Sent: Tuesday, November 16, 2004 8:17 PM
Subject: Re: Switching off file compression for JPEGs in the repository

> 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.

Isn't there compression between the client and the server? If so,
it wouldn't it be counterproductive with .jpg, .zip, etc. files?

Regards,

Raye.

> 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:42:52 2004

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