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

Re: incremental conversion from other SCM to svn by vcp

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-06-09 04:13:32 CEST

On Sun, Jun 08, 2003 at 12:35:56PM -0500, kfogel@collab.net wrote:
> Chia-liang Kao <clkao@clkao.org> writes:
>...
> > cool. i just skimmed the svndumpfile format, and it seems the
> > nodes for change is using the full content of the file instead
> > of delta. is there any reason for it? also, is it possible for
> > loading to non-empty repository?
>
> They're fulltext for simplicity. We could use deltas (as long as the
> fulltexts can always be reconstructed using only data in the
> dumpfile). We may have to switch to deltas eventually, given the
> sizes of some of the repositories cvs2svn converts...

One of the reasons for the fulltext is to enable third-party tools to
interact with the dumpfile more effectively. If we put our delta format in
there, then we'd have to grow whole new Python/Perl/whatever libraries to
enable those scripting languages to parse out the deltas.

One of the other reasons is that if we change our delta format, then it
wouldn't invalidate a bunch of dumpfiles that might be out there. Granted,
we'd have a compatability reader to deal with the old format, but with the
full-texts, we don't have to worry about that right now.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 9 04:10:07 2003

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.