Merged r4815 from trunk.

scm: cvs: fix most binary files become corrupted on Windows.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@4818 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-02-12 09:51:21 +00:00
parent e5b5b61d6e
commit c61c9e6471
1 changed files with 1 additions and 0 deletions

View File

@ -249,6 +249,7 @@ module Redmine
cmd << " -p #{shell_quote path_with_project}"
cat = nil
shellout(cmd) do |io|
io.binmode
cat = io.read
end
return nil if $? && $?.exitstatus != 0