summaryrefslogtreecommitdiffstats
path: root/lib/redmine/version.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-06-22 05:30:05 +0000
committerGo MAEDA <maeda@farend.jp>2018-06-22 05:30:05 +0000
commit157a291b6691dc5d694c84db0548b93b8561ab74 (patch)
treef1121fdf88f1b323e1df60bec4fb40df8468c647 /lib/redmine/version.rb
parent799912e119de3955b3195199837c5468f6b27b9a (diff)
downloadredmine-157a291b6691dc5d694c84db0548b93b8561ab74.tar.gz
redmine-157a291b6691dc5d694c84db0548b93b8561ab74.zip
Redmine::VERSION::revision should take subversion_command_setting into account (#28920).
Patch by Yuichi Harada. git-svn-id: http://svn.redmine.org/redmine/trunk@17407 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/version.rb')
-rw-r--r--lib/redmine/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/version.rb b/lib/redmine/version.rb
index b15bb391f..f3326e760 100644
--- a/lib/redmine/version.rb
+++ b/lib/redmine/version.rb
@@ -18,7 +18,7 @@ module Redmine
if File.directory?(File.join(Rails.root, '.svn'))
begin
path = Redmine::Scm::Adapters::AbstractAdapter.shell_quote(Rails.root.to_s)
- if `svn info --xml #{path}` =~ /revision="(\d+)"/
+ if `#{Redmine::Scm::Adapters::SubversionAdapter.client_command} info --xml #{path}` =~ /revision="(\d+)"/
return $1.to_i
end
rescue