SVN::DumpA Perl interface to Subversion dumps | |
Download |
SVN::Dump Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Philippe Bruhat
- Publisher web site:
- http://search.cpan.org/~book/
SVN::Dump Tags
SVN::Dump Description
A Perl interface to Subversion dumps SVN::Dump is a Perl interface to Subversion dumps.Developer commentsThe interfaces will probably change in the future, as I slowly learn my way inside the SVN dump format.An SVN::Dump object represents a Subversion dump.This module follow the semantics used in the reference document (the file notes/fs_dumprestore.txt in the Subversion source tree): * A dump is a collection of records (SVN::Dump::Record objects). * A record is composed of a set of headers (a SVN::Dump::Headers object), a set of properties (a SVN::Dump::Property object) and an optional bloc of text (a SVN::Dump::Text object). * Some special records (delete records with a Node-kind header) recursively contain included records.Each class has a as_string() method that prints its content in the dump format.The most basic thing you can do with SVN::Dump is simply copy a dump: use SVN::Dump; my $dump = SVN::Dump->new( 'mydump.svn' ); print $dump->as_string(); # only print the dump header while( $rec = $dump->next_record() ) { print $rec->as_string(); }After the operation, the resulting dump should be identical to the original dump. Requirements: · Perl
SVN::Dump Related Software