Skip Menu |

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

Report information
The Basics
Id: 8684
Status: new
Priority: 0/
Queue: SVN-Push

People
Owner: Nobody in particular
Requestors: jungman [...] lanl.gov
Cc:
AdminCc:

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



Subject: do_init off by 1 error
Hi. I was playing with SVN::Push 0.02 and found the following problem. In the svnpush script, in the function do_init(), you have: die "$0 init <source> <target>" unless $#_ == 1; my ($source, $target) = @_ But the call in main: &$cmdsub(\%options, @ARGV) sends options first, so do_init() should say something like: die "$0 init <source> <target>" unless $#_ == 2; my ($source, $target) = ($_[1], $_[2]) It looks like the current do_init() cannot work the way it is. Anyway, I don't know if you are still working on this, since the last update was in March, but I thought I should mention it. This kind of repository mirroring functionality could be very useful, so I'm wondering if you plan to keep working on it. Thanks.