# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- C:\Documents and Settings\bodet\Bureau\abstract_adapter.rb +++ C:\Redmine\lib\redmine\scm\adapters\abstract_adapter.rb @@ -138,7 +138,7 @@ end def shell_quote(str) - if RUBY_PLATFORM =~ /mswin/ + if RUBY_PLATFORM =~ /(:?mswin|mingw)/ || (RUBY_PLATFORM == 'java' && (ENV['OS'] || ENV['os']) =~ /windows/i) '"' + str.gsub(/"/, '\\"') + '"' else "'" + str.gsub(/'/, "'\"'\"'") + "'"