Merged r6272 from trunk.
scm: add new method "shell_quote_command" at abstract adapter. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6285 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
68e97858cb
commit
87211bcb75
@ -29,6 +29,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…
x
Reference in New Issue
Block a user