]> source.dussan.org Git - redmine.git/commitdiff
scm: code clean up lib/redmine/scm/adapters/abstract_adapter.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 10 Apr 2011 08:11:18 +0000 (08:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 10 Apr 2011 08:11:18 +0000 (08:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5381 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 039513aa90b385ad35e1b20d5a7098dc20d3b6df..aadf551cad4dc8a40ba4556cf2750deb6ae2c3a5 100644 (file)
@@ -145,7 +145,7 @@ module Redmine
         def cat(path, identifier=nil)
           return nil
         end
-        
+
         def with_leading_slash(path)
           path ||= ''
           (path[0,1]!="/") ? "/#{path}" : path
@@ -175,7 +175,7 @@ module Redmine
           info = self.info
           info ? info.root_url : nil
         end
-        
+
         def target(path)
           path ||= ''
           base = path.match(/^\//) ? root_url : url
@@ -223,7 +223,7 @@ module Redmine
           q = (Redmine::Platform.mswin? ? '"' : "'")
           cmd.to_s.gsub(/(\-\-(password|username))\s+(#{q}[^#{q}]+#{q}|[^#{q}]\S+)/, '\\1 xxxx')
         end
-        
+
         def strip_credential(cmd)
           self.class.strip_credential(cmd)
         end