summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-15 16:31:03 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-15 16:31:03 +0000
commit50f4087aa7e65d57ff5a250d2af00deebc8418c7 (patch)
treebf87a7a9679c2f113ec17885efec2e3bb51ed027 /lib
parente748e370535f68a279b484a993663b0de4fcb547 (diff)
downloadredmine-50f4087aa7e65d57ff5a250d2af00deebc8418c7.tar.gz
redmine-50f4087aa7e65d57ff5a250d2af00deebc8418c7.zip
scm: mercurial: use "shell_quote_command" method at adapter for JRuby + Windows command name (#8825).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6278 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/scm/adapters/mercurial_adapter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb
index 6ef816b73..d52d863e5 100644
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb
@@ -39,7 +39,7 @@ module Redmine
end
def sq_bin
- @@sq_bin ||= shell_quote(HG_BIN)
+ @@sq_bin ||= shell_quote_command
end
def client_version