diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-20 11:35:52 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-20 11:35:52 +0000 |
commit | f91b5bf3dabfffc3a9d543c4c0c522fdcff78b4c (patch) | |
tree | 1b69d3708ef5c1b3633aec49d142dab072312e8f /lib/redmine | |
parent | 9f7065c3b76fa31a003c7dc01ea71f0897de24f9 (diff) | |
download | redmine-f91b5bf3dabfffc3a9d543c4c0c522fdcff78b4c.tar.gz redmine-f91b5bf3dabfffc3a9d543c4c0c522fdcff78b4c.zip |
fix source indent of lib/redmine/scm/adapters/cvs_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20443 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/scm/adapters/cvs_adapter.rb | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb index 6c25a8034..71cbe21f1 100644 --- a/lib/redmine/scm/adapters/cvs_adapter.rb +++ b/lib/redmine/scm/adapters/cvs_adapter.rb @@ -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 |