[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-19 19:33:25 CET

On Nov 18, 2004, at 5:04 PM, Mike Mason wrote:
>
> Feel free to send email to the dev list, but just don't get your hopes
> up too much that someone will magically fix this!
>
>

It's worse than you think.

   COMMIT:
     * the client has two copies of the file
     * the client compares them, generates a binary diff, sends to server
     * server applies diff to latest file, stores it
     * server rewrites previous version of file as a binary diff. (if
BDB)

   CHECKOUT:
     * server has latest file
     * server compares against 'empty file', generates binary diff,
sends it
     * client decodes binary diff, creates file.

So in both scenarios, one end of the network is generating diffs, the
other is decoding. In the case of BDB, commits cause even more diffing
to happen on the far-end of the network.

CVS can have its time/space tradeoffs adjusted by passing -z* flags to
it. Subversion needs to grow such an option, and it's been discussed
for years. We've just not prioritized it or designed it yet.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 19 19:34:13 2004

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