diff options
Diffstat (limited to 'lib/redmine/scm/adapters/mercurial_adapter.rb')
-rw-r--r-- | lib/redmine/scm/adapters/mercurial_adapter.rb | 2 |
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 ea4461697..fb78b05d1 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb @@ -245,7 +245,7 @@ module Redmine hg_args << '--' << CGI.escape(hgtarget(p)) end diff = [] - hg *hg_args do |io| + hg(*hg_args) do |io| io.each_line do |line| diff << line end |