Subject: | Problem with ticket-map |
Date: | Wed, 29 Aug 2007 10:55:07 +1000 |
To: | bug-svn-notify [...] rt.cpan.org |
From: | Peter Dey <pdey [...] realmtech.net> |
I've found a problem with ticket-map that I've been unable to resolve...
I get an error when I try to use --ticket-map, as documented:
$ svnnotify --repos-path '/svn/productname' \
--revision 1219 \
--to 'email@address.com' \
--handler HTML \
--with-diff \
--ticket-map 'bugzilla=http://bugzilla/show_bug.cgi?id=%s'
Can't use string ("http://bugzilla/show_bug.cgi?id=") as a HASH ref while "strict refs" in use at
/usr/lib/perl5/site_perl/5.8.0/SVN/Notify.pm line 1425.
Doing 'print $map' on the line before 1425 shows $map = 'http://bugzilla/show_bug.cgi?id=%s'.
Using --bugzilla-url 'http://bugzilla/show_bug.cgi?id=%s' doesn't throw any errors; but it also doesn't URL-ify bug
strings in log messages...
SVN-Notify 2.6.6 (17 Jun 2007)
Linux voldemort 2.4.20-28.8smp #1 SMP Thu Dec 18 12:25:21 EST 2003 i686 i686 i386 GNU/Linux
Perl, v5.8.0 built for i386-linux-thread-multi