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

Re: Subversion FSFS corruption

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-08-24 02:12:34 CEST

On Tue, 2005-08-23 at 14:24 -0700, Ted Gould wrote:
> This is odd to me, as I believe that this is a direct import of the
> picture. I don't know anything about the Delta format, but it seems
> that there should be very few instructions at head of each chunk. More
> of a "just use this data" type command.

One would imagine that would be the case for a jpeg file, but it looks
to me like there are 310 bytes of instructions there. The other chunks
(which verify just fine) also contain substantial numbers of
instructions. That suggests an oddity in our delta algorithm and a
possible space performance issue on compressed files.

> Could this command be changed?

It's likely that the delta chunk could be fiddled into something which
verifies (but produces the wrong data) without changing its size, yes.

> Where is the documentation of the delta format? I know it must exist,
> but I can't seem to find it. This is a WebDAV thing, right?

It's not a WebDAV thing.
http://svn.collab.net/repos/svn/trunk/notes/svndiff describes the
format.

There's code in subversion/tests/libsvn_delta to print a delta window,
although you'd have to adapt it for this purpose, and it probably prints
out the new data directly, which wouldn't be so great for binary data.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 24 02:13:39 2005

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

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