Project

General

Profile

Patch #5117 » mercurial_adapter_each_line.patch

Yuya Nishihara, 2010-11-20 17:26

View differences:

lib/redmine/scm/adapters/mercurial_adapter.rb
44 44
          end
45 45
          
46 46
          def hgversion_from_command_line
47
            %x{#{HG_BIN} --version}.lines.first.to_s
47
            %x{#{HG_BIN} --version}.each_line.first.to_s
48 48
          end
49 49
          
50 50
          def template_path
(11-11/13)