]> source.dussan.org Git - redmine.git/commitdiff
scm: space cleanup of lib/redmine/scm/adapters/abstract_adapter.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 18 Feb 2011 00:57:43 +0000 (00:57 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 18 Feb 2011 00:57:43 +0000 (00:57 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4861 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 3442276b17c071f7c13aee8ca2214e9c855668d3..92af19446a2a939a59df478b27abd2b2c9103722 100644 (file)
@@ -19,10 +19,10 @@ require 'cgi'
 
 module Redmine
   module Scm
-    module Adapters    
+    module Adapters
       class CommandFailed < StandardError #:nodoc:
       end
-      
+
       class AbstractAdapter #:nodoc:
         class << self
           def client_command
@@ -188,11 +188,11 @@ module Redmine
         def shellout(cmd, &block)
           self.class.shellout(cmd, &block)
         end
-        
+
         def self.logger
           RAILS_DEFAULT_LOGGER
         end
-        
+
         def self.shellout(cmd, &block)
           logger.debug "Shelling out: #{strip_credential(cmd)}" if logger && logger.debug?
           if Rails.env == 'development'
@@ -210,8 +210,8 @@ module Redmine
             logger.error("SCM command failed, make sure that your SCM binary (eg. svn) is in PATH (#{ENV['PATH']}): #{strip_credential(cmd)}\n  with: #{msg}")
             raise CommandFailed.new(msg)
           end
-        end  
-        
+        end
+
         # Hides username/password in a given command
         def self.strip_credential(cmd)
           q = (Redmine::Platform.mswin? ? '"' : "'")
@@ -231,7 +231,7 @@ module Redmine
             else
               x.kind <=> y.kind
             end
-          }   
+          }
         end
         
         def revisions
@@ -329,7 +329,7 @@ module Redmine
           end
         end
       end
-        
+
       class Annotate
         attr_reader :lines, :revisions