@@ -70,7 +70,7 module Redmine | |||
|
70 | 70 | end |
|
71 | 71 | begin |
|
72 | 72 | doc = ActiveSupport::XmlMini.parse(output) |
|
73 |
#root_url = doc.elements["info/entry/repository/root"].text |
|
|
73 | # root_url = doc.elements["info/entry/repository/root"].text | |
|
74 | 74 | info = Info.new({:root_url => doc['info']['entry']['repository']['root']['__content__'], |
|
75 | 75 | :lastrev => Revision.new({ |
|
76 | 76 | :identifier => doc['info']['entry']['commit']['revision'], |
@@ -263,7 +263,7 module Redmine | |||
|
263 | 263 | end |
|
264 | 264 | |
|
265 | 265 | # Helper that iterates over the child elements of a xml node |
|
266 | # MiniXml returns a hash when a single child is found | |
|
266 | # MiniXml returns a hash when a single child is found | |
|
267 | 267 | # or an array of hashes for multiple children |
|
268 | 268 | def each_xml_element(node, name) |
|
269 | 269 | if node && node[name] |
General Comments 0
You need to be logged in to leave comments.
Login now