scm: add new method "shell_quote_command" at abstract adapter (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6272 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
98b29b445d
commit
ecc042dce1
|
@ -33,6 +33,14 @@ module Redmine
|
|||
""
|
||||
end
|
||||
|
||||
def shell_quote_command
|
||||
if Redmine::Platform.mswin? && RUBY_PLATFORM == 'java'
|
||||
client_command
|
||||
else
|
||||
shell_quote(client_command)
|
||||
end
|
||||
end
|
||||
|
||||
# Returns the version of the scm client
|
||||
# Eg: [1, 5, 0] or [] if unknown
|
||||
def client_version
|
||||
|
|
Loading…
Reference in New Issue