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