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

Re: Are Updates and Checkouts also atomic?

From: Steve Greenland <steveg_at_lsli.com>
Date: 2005-05-20 00:48:10 CEST

On Thu, May 19, 2005 at 02:59:38PM -0700, Noah Spurrier wrote:
> Hmm... now that I think about this again I think
> maybe I should test this more. It is highly likely
> that my low opinion of rsync binary diff is
> due to my experience with rsyncing compressed
> binaries where small changes in the original
> file usually yield very different compressed
> output files -- thus causing rsync to copy
> the entire file...

Right, it's the compression that screws up rsync, not the binary. (As
far as rsync is concerned, everything is binary: it works in blocks, not
lines.)

Recent versions of gzip have an '--rsyncable' option that works around
this very problem. It leads to slightly bigger compressed files, but a
small change in the original only affects a small part of the compressed
version.

Steve

-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 20 00:50:49 2005

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.