Commit 6caa0f1c authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: mercurial: change some newlines in mercurial_adapter.rb CRLF to LF.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4927 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent a81049d5
......@@ -56,8 +56,8 @@ module Redmine
# id composed of 12 hexa characters.
theversion = hgversion_from_command_line
if theversion.respond_to?(:force_encoding)
theversion.force_encoding('ASCII-8BIT')
end
theversion.force_encoding('ASCII-8BIT')
end
if m = theversion.match(%r{\A(.*?)((\d+\.)+\d+)})
m[2].scan(%r{\d+}).collect(&:to_i)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment