From ac6ecdb360aa30fdbec7b79dbdcf651f7d5328c6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 21 Apr 2009 16:05:04 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/mercurial_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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