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

Re: Re: fs dump/restore proposal

From: Mark Benedetto King <bking_at_answerfriend.com>
Date: 2002-04-25 02:57:56 CEST

This isn't a reply to the right entry in the thread, but I've already
deleted that one...

What if the dump format were something immediately suitable for replay
through the svn_fs_* API?

You can think of the state of the fs as exactly the result of applying a
(long) sequence of svn_fs calls. That state can be represented by that
very sequence (or a coalesced version of that sequence), and that state
can be reproduced via simple replay of those calls.

This format guarantees fs -> fs portability, and means that individual
fs backends will not have to implement restore.

I don't know enough to say whever the dump side of the functionality
can be implemented at the svn_fs level (since I don't know what
svn_fs_list_transactions actually does, for example). It may be possible
to write a universal dump routine, too, or to extend svn_fs slightly to
support that, rather than require all fs backends to implement their own.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 25 02:01:23 2002

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.