output.force_encoding('UTF-8')
end
begin
- @summary = ActiveSupport::XmlMini.parse(output)['rhsummary']
+ @summary = parse_xml(output)['rhsummary']
rescue
end
end
output.force_encoding('UTF-8')
end
begin
- ActiveSupport::XmlMini.parse(output)['rhmanifest']['repository']['manifest']
+ parse_xml(output)['rhmanifest']['repository']['manifest']
rescue
end
end
end
begin
# Mercurial < 1.5 does not support footer template for '</log>'
- ActiveSupport::XmlMini.parse("#{output}</log>")['log']
+ parse_xml("#{output}</log>")['log']
rescue
end
end
output.force_encoding('UTF-8')
end
begin
- doc = ActiveSupport::XmlMini.parse(output)
+ doc = parse_xml(output)
# root_url = doc.elements["info/entry/repository/root"].text
info = Info.new({:root_url => doc['info']['entry']['repository']['root']['__content__'],
:lastrev => Revision.new({
output.force_encoding('UTF-8')
end
begin
- doc = ActiveSupport::XmlMini.parse(output)
+ doc = parse_xml(output)
each_xml_element(doc['lists']['list'], 'entry') do |entry|
commit = entry['commit']
commit_date = commit['date']
output.force_encoding('UTF-8')
end
begin
- doc = ActiveSupport::XmlMini.parse(output)
+ doc = parse_xml(output)
each_xml_element(doc['properties']['target'], 'property') do |property|
properties[ property['name'] ] = property['__content__'].to_s
end
output.force_encoding('UTF-8')
end
begin
- doc = ActiveSupport::XmlMini.parse(output)
+ doc = parse_xml(output)
each_xml_element(doc['log'], 'logentry') do |logentry|
paths = []
each_xml_element(logentry['paths'], 'path') do |path|