mhuffnagle/subversion_notifier — Issue #12: Invalid SVN project causes exception
Author: mhuffnagle
Created: 2011-11-21 15:18:55+00:00
State: open

An invalid project returns this from Subversion:

$ svn log -l 1 --xml http://svn.example.com/svn/project/trunk

svn: Could not open the requested SVN filesystem

$ ./bin/subversion_notifier config.yml
/Users/mhuffnagle/.rvm/gems/ruby-1.9.2-p180/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:216:in `attr': undefined method `attribute' for nil:NilClass (NoMethodError)
from ./bin/subversion_notifier:142:in `get_revision_from_entry'
from ./bin/subversion_notifier:179:in `get_current_revision'
from ./bin/subversion_notifier:184:in `block in get_current_revisions_into_config'
from ./bin/subversion_notifier:183:in `each'
from ./bin/subversion_notifier:183:in `get_current_revisions_into_config'
from ./bin/subversion_notifier:80:in `run'
from ./bin/subversion_notifier:199:in `

'