Skip Menu |

This queue is for tickets about the SVN-Mirror CPAN distribution.

Report information
The Basics
Id: 20449
Status: new
Priority: 0/
Queue: SVN-Mirror

People
Owner: Nobody in particular
Requestors: ianburrell [...] gmail.com
Cc:
AdminCc:

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



Subject: SVN::Mirorr breaks on subversion perl bindings produced by recent swig releases
The SVN::Mirror tests were failing on FC5 with following error: TypeError in method 'svn_ra_reporter2_invoke_set_path', argument 6 of type 'char const *' There is a Debian bug for this problem, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356894. The cause is that recent versions of swig produce more strict bindings. They were failing because set_path didn't like the '0' as the fourth argument to set_path. The Debian bug produced a patch. I attached the patch I used to fix the bug and get SVN::Mirror included in Fedora Extras.
Subject: SVN-Mirror-0.68-swig.patch
--- SVN-Mirror-0.68.orig/lib/SVN/Mirror/Ra.pm +++ SVN-Mirror-0.68/lib/SVN/Mirror/Ra.pm @@ -521,7 +521,7 @@ my $reporter = $ra->do_update ($rev, $editor->{target} || '', 1, $editor); my @lock = $SVN::Core::VERSION ge '1.2.0' ? (undef) : (); - $reporter->set_path ('', $start, @lock, 0); + $reporter->set_path ('', $start, @lock, undef); $reporter->finish_report (); } else {
From: ianburrell [...] gmail.com
This bug seems to be fixed in 0.70. I didn't see anything mentioned in the changelog but the patch no longer applies and the problem does not appear without it.