git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3722 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4a4bc93278
commit
b897089729
|
@ -65,7 +65,7 @@ module Redmine
|
||||||
cmd = "#{HG_BIN} -R #{target('')} root"
|
cmd = "#{HG_BIN} -R #{target('')} root"
|
||||||
root_url = nil
|
root_url = nil
|
||||||
shellout(cmd) do |io|
|
shellout(cmd) do |io|
|
||||||
root_url = io.gets
|
root_url = io.read
|
||||||
end
|
end
|
||||||
return nil if $? && $?.exitstatus != 0
|
return nil if $? && $?.exitstatus != 0
|
||||||
info = Info.new({:root_url => root_url.chomp,
|
info = Info.new({:root_url => root_url.chomp,
|
||||||
|
|
Loading…
Reference in New Issue