]> source.dussan.org Git - redmine.git/commitdiff
Fixes mercurial adapter.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Dec 2010 18:35:37 +0000 (18:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Dec 2010 18:35:37 +0000 (18:35 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4541 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/mercurial_adapter.rb

index 7ee3333d80b0ee4a3d17d1efc598819a59d196b6..72dc5dd2572fafc9816009ae95ddde3142256caa 100644 (file)
@@ -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...