]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: change some newlines in mercurial_adapter.rb CRLF to LF.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Feb 2011 14:29:09 +0000 (14:29 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 22 Feb 2011 14:29:09 +0000 (14:29 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4927 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/mercurial_adapter.rb

index 9021e1d9234cf9d8c48a8edfc8624418e8cc81e0..a71ae7bd2edd2f3cc277189682c36caff848caba 100644 (file)
@@ -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')\r
-            end\r
+              theversion.force_encoding('ASCII-8BIT')
+            end
             if m = theversion.match(%r{\A(.*?)((\d+\.)+\d+)})
               m[2].scan(%r{\d+}).collect(&:to_i)
             end