Project

General

Profile

Defect #4494 ยป fix_4494_mercurial_on_jruby.diff

Gregor Schmidt, 2010-04-20 12:02

View differences:

lib/redmine/scm/adapters/abstract_adapter.rb
begin
IO.popen(cmd, "r+") do |io|
io.close_write
block.call(io) if block_given?
if block_given?
block.call(io)
while(io.gets); end
end
end
rescue Errno::ENOENT => e
msg = strip_credential(e.message)
    (1-1/1)