[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit script sends a void message

From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Fri, 4 Jun 2010 01:50:13 -0500

On Jun 4, 2010, at 01:39, Mauro Gatti wrote:

>>> Use of uninitialized value in exec at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
>>> Can't exec "": No such file or directory at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 2303.
>>
>> I added two flags to svnnotify:
>> --svnlook
>> --sendmail

Right, it looks like otherwise it doesn't know where to find your svnlook program.

>> and now i got only these two errors:
>>
>> substr outside of string at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
>> Use of uninitialized value in index at /usr/lib/perl5/site_perl/5.8.8/SVN/Notify.pm line 1303.
>
> Maybe I found the problem.
> It seems there is a problem in line 1030 in Noitify.pm
>
> my $i = index substr($self->{message}[0], 10), '. ';
>
> What happens if the comment I insert when I commit something is less then 10 characters and doesn't contain a period?

Right, this looks like a known issue:

https://rt.cpan.org/Public/Bug/Display.html?id=50390
Received on 2010-06-04 08:50:56 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.