Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing subversion info parser bug on ruby 1.9

  • Loading branch information...
commit 883a71537579b69fc010112222911ff664aa1edb 1 parent 46bce7f
@mrduncan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/source_control/subversion/info_parser.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.