Fixes Mercurial adapter for JRuby (#4494, #5404).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3722 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-05-01 09:55:40 +00:00
parent 4a4bc93278
commit b897089729
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ module Redmine
cmd = "#{HG_BIN} -R #{target('')} root"
root_url = nil
shellout(cmd) do |io|
root_url = io.gets
root_url = io.read
end
return nil if $? && $?.exitstatus != 0
info = Info.new({:root_url => root_url.chomp,