@@ -33,6 +33,14 module Redmine | |||||
33 | "" |
|
33 | "" | |
34 | end |
|
34 | end | |
35 |
|
35 | |||
|
36 | def shell_quote_command | |||
|
37 | if Redmine::Platform.mswin? && RUBY_PLATFORM == 'java' | |||
|
38 | client_command | |||
|
39 | else | |||
|
40 | shell_quote(client_command) | |||
|
41 | end | |||
|
42 | end | |||
|
43 | ||||
36 | # Returns the version of the scm client |
|
44 | # Returns the version of the scm client | |
37 | # Eg: [1, 5, 0] or [] if unknown |
|
45 | # Eg: [1, 5, 0] or [] if unknown | |
38 | def client_version |
|
46 | def client_version |
General Comments 0
You need to be logged in to leave comments.
Login now