Skip Menu |

This queue is for tickets about the CGI-Kwiki CPAN distribution.

Report information
The Basics
Id: 6220
Status: new
Priority: 0/
Queue: CGI-Kwiki

People
Owner: Nobody in particular
Requestors: shlomif [...] iglu.org.il
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: ::Backup::SVNPerl is incompatible with recent Subversions
::Backup::SVNPerl is incompatible with latest versions of Subversion due to an API depreaction. The attached patch fixes the problem.
--- lib/CGI/Kwiki/Backup/SVNPerl.pm 2003-08-26 18:28:24.000000000 +0300 +++ lib/CGI/Kwiki/Backup/SVNPerl.pm.new 2004-05-04 21:32:02.178340088 +0300 @@ -93,8 +93,14 @@ $page_id ||= $self->cgi->page_id; return [] unless $page_id; - my $revs = SVN::Repos::revisions_changed ($fs, $page_id, 0, - $self->{headrev}, 0); + my $revs; + + my $hist = + $fs->revision_root ($fs->youngest_rev)->node_history ($page_id); + + while ($hist = $hist->prev (0)) { + push @$revs, ($hist->location)[1]; + } my $history = [map { { revision => $_,