Permalink
Browse files

Fixing subversion info parser bug on ruby 1.9

  • Loading branch information...
mrduncan committed Sep 20, 2009
1 parent 46bce7f commit 883a71537579b69fc010112222911ff664aa1edb
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/source_control/subversion/info_parser.rb
@@ -3,7 +3,7 @@ class Subversion
class InfoParser
def parse(xml)
- info = XmlSimple.xml_in(xml.to_s, 'ForceArray' => false)['entry']
+ info = XmlSimple.xml_in(xml.join, 'ForceArray' => false)['entry']
Subversion::Info.new(info['revision'].to_i, info['commit']['revision'].to_i, info['commit']['author'])
end
end

0 comments on commit 883a715

Please sign in to comment.