summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-04 08:25:04 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-05-04 08:25:04 +0000
commitbba6199e5135b8815d9d149c2595a89cd69c7e54 (patch)
treefb4789f2f16d14b0d0b12cffb6d7c4e0f9cfc579 /lib/redmine
parent4924b99ff94dd8acf286de60cef13a4a2b039cd5 (diff)
downloadredmine-bba6199e5135b8815d9d149c2595a89cd69c7e54.tar.gz
redmine-bba6199e5135b8815d9d149c2595a89cd69c7e54.zip
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
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/scm/adapters/subversion_adapter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/scm/adapters/subversion_adapter.rb b/lib/redmine/scm/adapters/subversion_adapter.rb
index b82f5e69d..c59a053f6 100644
--- a/lib/redmine/scm/adapters/subversion_adapter.rb
+++ b/lib/redmine/scm/adapters/subversion_adapter.rb
@@ -70,7 +70,7 @@ module Redmine
end
begin
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__'],
:lastrev => Revision.new({
:identifier => doc['info']['entry']['commit']['revision'],
@@ -263,7 +263,7 @@ module Redmine
end
# 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
def each_xml_element(node, name)
if node && node[name]