Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 15976
Status: resolved
Priority: 0/
Queue: SVN-Notify

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

Bug Information
Severity: Important
Broken in: 2.49
Fixed in: 2.50



Subject: svnnotify problem with --to-regex-map
Svn ver. 1.2.0,Perl ver. 5.8.0,RH Enterprise 3. (Not happen on Svn ver. 1.2.3,Perl ver. 5.8.6,Fedora 4) Reproduce steps: "svnnotify --subject-prefix "Pref" --no-first-line --repos-path /home/svn/ --revision 8900 --to-regex-map hayzer@gmail.com=trunk" creates the follow error: "Can't use string ("trunk") as a HASH ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.8.0/SVN/Notify.pm line 647." The test report: * WARNING: Configuration was initially created with '/usr/bin/perl', but we are now using '/usr/bin/perl'. t/base.............ok 76/155# Failed test (t/base.t at line 191) t/base.............NOK 77# got: '5' # expected: '2' # Failed test (t/base.t at line 193) t/base.............NOK 78# got: '5' # expected: '1' t/base.............ok 155/155# Looks like you failed 2 tests of 155. t/base.............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 77-78 Failed 2/155 tests, 98.71% okay t/errors...........ok t/html.............ok t/htmlcolordiff....ok t/options..........ok t/pod-coverage.....skipped all skipped: Test::Pod::Coverage 1.06 required for testing POD coverage t/pod..............skipped all skipped: Test::Pod 1.20 required for testing POD t/script...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/base.t 2 512 155 2 1.29% 77-78 2 tests skipped. Failed 1/8 test scripts, 87.50% okay. 2/503 subtests failed, 99.60% okay. I guess it's either Perl or Subversion related, but still if you can help somehow, it would be great. Thanks, Thomas
From: David Wheeler <david [...] kineticode.com>
Subject: Re: [cpan #15976] svnnotify problem with --to-regex-map
Date: Sun, 20 Nov 2005 09:31:33 -0800
To: bug-SVN-Notify [...] rt.cpan.org
RT-Send-Cc:
On Nov 20, 2005, at 5:45 AM, Guest via RT wrote: Show quoted text
> I guess it's either Perl or Subversion related, but still if you > can help somehow, it would be great.
Try upgrading Getopt::Long. Best, David
Show quoted text
> > Try upgrading Getopt::Long. >
Sorry. I didn't pay attention 2.34 is requierd (I have there 2.32). Anyway I wrote this script yesterday from scratch using module methods and it works. Thanks, Thomas