##// END OF EJS Templates
change tabs to spaces in lib/redmine/version.rb....
Toshi MARUYAMA -
r5429:d1eb1fb07dd3
parent child
Show More
@@ -24,7 +24,8 module Redmine
24 revision = $1.to_i if entries.match(%r{^\d+\s+dir\s+(\d+)\s})
24 revision = $1.to_i if entries.match(%r{^\d+\s+dir\s+(\d+)\s})
25 else
25 else
26 xml = REXML::Document.new(entries)
26 xml = REXML::Document.new(entries)
27 revision = xml.elements['wc-entries'].elements[1].attributes['revision'].to_i
27 revision =
28 xml.elements['wc-entries'].elements[1].attributes['revision'].to_i
28 end
29 end
29 rescue
30 rescue
30 # Could not find the current revision
31 # Could not find the current revision
General Comments 0
You need to be logged in to leave comments. Login now