scm: subversion: fix newline 'LF' to 'CRLF' and remove trailing white-space.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5635 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4924b99ff9
commit
bba6199e51
@ -70,7 +70,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
begin
|
begin
|
||||||
doc = ActiveSupport::XmlMini.parse(output)
|
doc = ActiveSupport::XmlMini.parse(output)
|
||||||
#root_url = doc.elements["info/entry/repository/root"].text
|
# root_url = doc.elements["info/entry/repository/root"].text
|
||||||
info = Info.new({:root_url => doc['info']['entry']['repository']['root']['__content__'],
|
info = Info.new({:root_url => doc['info']['entry']['repository']['root']['__content__'],
|
||||||
:lastrev => Revision.new({
|
:lastrev => Revision.new({
|
||||||
:identifier => doc['info']['entry']['commit']['revision'],
|
:identifier => doc['info']['entry']['commit']['revision'],
|
||||||
@ -263,7 +263,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Helper that iterates over the child elements of a xml node
|
# Helper that iterates over the child elements of a xml node
|
||||||
# MiniXml returns a hash when a single child is found
|
# MiniXml returns a hash when a single child is found
|
||||||
# or an array of hashes for multiple children
|
# or an array of hashes for multiple children
|
||||||
def each_xml_element(node, name)
|
def each_xml_element(node, name)
|
||||||
if node && node[name]
|
if node && node[name]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user