Defect #29601 » redmine_version_revision_change_to_last_changed_rev.patch
trunk/lib/redmine/version.rb (revision 17480) → trunk/lib/redmine/version.rb (working copy) | ||
---|---|---|
18 | 18 |
if File.directory?(File.join(Rails.root, '.svn')) |
19 | 19 |
begin |
20 | 20 |
path = Redmine::Scm::Adapters::AbstractAdapter.shell_quote(Rails.root.to_s) |
21 |
if `#{Redmine::Scm::Adapters::SubversionAdapter.client_command} info --xml #{path}` =~ /revision="(\d+)"/ |
|
21 |
if `#{Redmine::Scm::Adapters::SubversionAdapter.client_command} info --xml #{path}` =~ /commit\s+revision="(\d+)"/
|
|
22 | 22 |
return $1.to_i |
23 | 23 |
end |
24 | 24 |
rescue |