]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of lib/redmine/scm/adapters/cvs_adapter.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 20 Nov 2020 11:35:52 +0000 (11:35 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 20 Nov 2020 11:35:52 +0000 (11:35 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20443 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/cvs_adapter.rb

index 6c25a80345866db406f882e3410c68ddf0ce86e4..71cbe21f1eb01b335384fa408c610a1fe59ac794 100644 (file)
@@ -314,12 +314,13 @@ module Redmine
             io.each_line do |line|
               next unless line =~ %r{^([\d\.]+)\s+\(([^\)]+)\s+[^\)]+\):\s(.*)$}
               blame.add_line(
-                  $3.rstrip,
-                  Revision.new(
-                    :revision   => $1,
-                    :identifier => nil,
-                    :author     => $2.strip
-                    ))
+                $3.rstrip,
+                Revision.new(
+                  :revision   => $1,
+                  :identifier => nil,
+                  :author     => $2.strip
+                )
+              )
             end
           end
           blame
@@ -379,10 +380,12 @@ module Redmine
           full_args.map do |e|
             full_args_locale << scm_iconv(@path_encoding, 'UTF-8', e)
           end
-          ret = shellout(
-                   self.class.sq_bin + ' ' + full_args_locale.map { |e| shell_quote e.to_s }.join(' '),
-                   &block
-                   )
+          ret =
+            shellout(
+              self.class.sq_bin + ' ' +
+                full_args_locale.map {|e| shell_quote e.to_s}.join(' '),
+              &block
+            )
           if $? && $?.exitstatus != 0
             raise ScmCommandAborted, "cvs exited with non-zero status: #{$?.exitstatus}"
           end