Attached is a patch that allows svn::dump to read from a fh.
Subject: | svndump-fh.patch |
diff -ru lib/SVN/Dump.pm /usr/local/lib/perl5/site_perl/5.8.8/SVN/Dump.pm
--- lib/SVN/Dump.pm Wed Oct 18 09:30:21 2006
+++ /usr/local/lib/perl5/site_perl/5.8.8/SVN/Dump.pm Sun Oct 22 17:03:38 2006
@@ -13,7 +13,10 @@
# create the Reader object now
my $self = bless {}, $class;
- open my $fh, $args->{file} or croak "Can't open $args->{file}: $!";
+ my $fh = $args->{fh};
+ if (!$fh) {
+ open $fh, $args->{file} or croak "Can't open $args->{file}: $!";
+ }
$self->{reader} = SVN::Dump::Reader->new( $fh );
return $self;
Only in /usr/local/lib/perl5/site_perl/5.8.8/SVN/: Mirror
Only in /usr/local/lib/perl5/site_perl/5.8.8/SVN/: Mirror.pm
Only in /usr/local/lib/perl5/site_perl/5.8.8/SVN/: Simple