summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-18 18:35:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-12-18 18:35:37 +0000
commitf7529c94f651fef7d42c4cb609890de5a2ec9ea5 (patch)
treecdc2d9693a4d01d900c8594ea8e6621214138a56 /lib
parent7d7c67dabad1ad7d50bade26a0f6316e13868ea6 (diff)
downloadredmine-f7529c94f651fef7d42c4cb609890de5a2ec9ea5.tar.gz
redmine-f7529c94f651fef7d42c4cb609890de5a2ec9ea5.zip
Fixes mercurial adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4541 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 7ee3333d8..72dc5dd25 100644
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb
@@ -112,7 +112,7 @@ module Redmine
cmd << " -r #{identifier_from.to_i}:"
end
cmd << " --limit #{options[:limit].to_i}" if options[:limit]
- cmd << " #{shell_quote path}" if path
+ cmd << " #{shell_quote path}" unless path.blank?
shellout(cmd) do |io|
begin
# HG doesn't close the XML Document...