[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-06-14 23:17:55 CEST

Chia-liang Kao <clkao@clkao.org> writes:

> now i'll be working on tagging and maybe investigate using dumpfile (are
> there utility functions availble for dealing dumpfiles?)

The svn repository dumpfile format is mostly documented in
/trunk/notes/fs_dumprestore.txt. At least, dumpfile 'version 1' is
documented there.

At the moment, exactly two programs produce dumpfiles, and they don't
share any code/logic to do so. They're independent implementations:

   * 'svnadmin dump' (libsvn_repos/dump.c)

   * cvs2svn.py

Also, note that these programs now produce dumpfile 'version 2'. I
believe the only difference is that format 2 has a repository UUID at
the beginning.

As far as *loading* dumpfiles -- we have a nice generalized parser for
that in libsvn_repos/load.c. Look at the function
svn_repos_parse_dumpstream(). All you need to do is provide your own
table of callbacks. Or if you want to use our fs-committing
callbacks, then just call svn_repos_load_fs().

   

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 14 23:19:52 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.