SVN::Dump::Reader(3pm)

SVN::Dump::Reader3pm

A subversion dump reader

Usage

    # !!! You should use SVN::Dump, not SVN::Dump::Reader !!!
    use SVN::Dump::Reader;
    my $reader = SVN::Dump::Reader->new( $fh );
    my $record = $reader->read_record();

Version

version 0.08

Overview

The SVN::Dump::Reader class implements a reader object for Subversion dumps.

Methods

The following methods are available:

new( $fh, \%options )

Create a new SVN::Dump::Reader attached to the $fh filehandle.

The only supported option is "check_digest", which is disabled by default.

read_record( )

Read and return a new SVN::Dump::Record object from the dump filehandle.

If the option "check_digest" is enabled, this method will recompute the digests for a dump without deltas, based on the information in the "Text-content-md5" and "Text-content-sha1" headers (if the corresponding Digest module is available). In case of a mismatch, the routine will "die()" with an exception complaining about a "checksum mismatch".

read_header_block( )

Read and return a new SVN::Dump::Headers object from the dump filehandle.

read_property_block( )

Read and return a new SVN::Dump::Property object from the dump filehandle.

read_text_block( )

Read and return a new SVN::Dump::Text object from the dump filehandle.

The "read_..." methods will die horribly if asked to read inconsistent data from a stream.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

License

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

From libsvn-dump-perl 0.08-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.