summaryrefslogtreecommitdiffstats
path: root/config/configuration.yml.example
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-02-14 06:14:34 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-02-14 06:14:34 +0000
commit8b98c05879a278cd86fa83c73e5852cad3df4826 (patch)
treef9811da76083c030cd161214345f0e5c44b14c51 /config/configuration.yml.example
parent8b5ebd92c98a9e4991bec563d9b6b8d42fc35f1c (diff)
downloadredmine-8b98c05879a278cd86fa83c73e5852cad3df4826.tar.gz
redmine-8b98c05879a278cd86fa83c73e5852cad3df4826.zip
scm: use shell quote for scm command at adapter level (#7517, #4273).
"C:\Program Files\TortoiseHg\hg.exe" can be used in config/configuration.yml. In Ruby 1.9 IO.popen, if cmd is an Array of String, it will be used as the subprocess‘s argv bypassing a shell. See http://www.ruby-doc.org/core/classes/IO.html git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4821 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/configuration.yml.example')
-rw-r--r--config/configuration.yml.example2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/configuration.yml.example b/config/configuration.yml.example
index f00d97f42..b89301467 100644
--- a/config/configuration.yml.example
+++ b/config/configuration.yml.example
@@ -111,7 +111,7 @@ default:
# Absolute path (e.g. /usr/local/bin/hg) or command name (e.g. hg.exe, bzr.exe)
# On Windows, *.cmd, *.bat (e.g. hg.cmd, bzr.bat) does not work.
scm_subversion_command: svn # (default: svn)
- scm_mercurial_command: "\"C:\Program Files\TortoiseHg\hg.exe\"" # (default: hg)
+ scm_mercurial_command: C:\Program Files\TortoiseHg\hg.exe # (default: hg)
scm_git_command: /usr/local/bin/git # (default: git)
scm_cvs_command: cvs # (default: cvs)
scm_bazaar_command: bzr.exe # (default: bzr)