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

Re: [Issue 1585] Deltified dumps for archival and schema conversion

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-06-23 06:29:46 CEST

On Tue, 2004-06-22 at 19:22, Benjamin Pflugmann wrote:
> Yes, it will create the fulltext, put that into the repository and the
> repository (library) will calculate a delta again. But it sounds as if
> you think it is the same delta that was in the dumpfile. It isn't.

> Regardless of whether the delta algorithm is the same (I don't know
> without checking, but I don't see a reason for using two different
> ones here), there is a difference of what is diff'ed against what.

Correct so far (and it is the same algorithm), but...

> while the repository (BDB backend) stores deltas like this:
>
> (2,1) (3,2) (4,3) and so on (i.e. deltas against the younger revision)

Actually, it's more complicated than that. See
http://svn.collab.net/repos/svn/trunk/notes/skip-deltas for the gory
details.

I've thought about making a dump format variation which stores the
actual deltas present in the database, and which can be loaded without
recomputing all the deltas, but it didn't seem worth the complexity and
architectural impurity. And it wouldn't help with CVS conversion, since
the deltas stored in CVS are still much too foreign. (Different delta
algorithm, different delta bases.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 23 06:30:34 2004

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.