From: Jean-Philippe Lang Date: Sat, 18 Dec 2010 18:42:00 +0000 (+0000) Subject: Merged r4541 from trunk. X-Git-Tag: 1.0.5~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63c4fb5b97379bd53a5205efd1ec52a20a68ee4f;p=redmine.git Merged r4541 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@4543 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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...