summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-21 16:05:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-04-21 16:05:04 +0000
commitac6ecdb360aa30fdbec7b79dbdcf651f7d5328c6 (patch)
tree66a7c5cac948cd9111655b41860c059ea4a6d2d7 /lib/redmine
parent31cf9be7abacc6cfa325bbcfc7d15aca10af4c99 (diff)
downloadredmine-ac6ecdb360aa30fdbec7b79dbdcf651f7d5328c6.tar.gz
redmine-ac6ecdb360aa30fdbec7b79dbdcf651f7d5328c6.zip
Fixed: Mercurial integration doesn't work if redmine is installed in folder path containing space (#3159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2679 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-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 4eed776d8..ee7d7ea9d 100644
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb
@@ -105,7 +105,7 @@ module Redmine
# makes Mercurial produce a xml output.
def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})
revisions = Revisions.new
- cmd = "#{HG_BIN} --debug --encoding utf8 -R #{target('')} log -C --style #{self.class.template_path}"
+ cmd = "#{HG_BIN} --debug --encoding utf8 -R #{target('')} log -C --style #{shell_quote self.class.template_path}"
if identifier_from && identifier_to
cmd << " -r #{identifier_from.to_i}:#{identifier_to.to_i}"
elsif identifier_from