Looks like svnspam.rb is expecting some sort of STDIN input at line 1340 in
the posted version on Google:
1340: reader = LogReader.new($stdin)
The behavior is that when testing this at the command line, things simple
hang at line 211 waiting for some sort of user input.
211: @line = @io.gets
In addition, since there is no open STDIN from the Subversion hook, the
script fails silently.
I changed this to the following and everything works fine now.
1340: reader = LogReader.new(File.open($logfile, "r"))
Cheers!
Original issue reported on code.google.com by knitt...@gmail.com on 29 Dec 2008 at 8:29
Original issue reported on code.google.com by
knitt...@gmail.com
on 29 Dec 2008 at 8:29