From 373b5f4d047a12745de9c76e9592f592e22b62fc Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 12 Jul 2020 11:35:58 +0000 Subject: fix source indent of BazaarAdapter git-svn-id: http://svn.redmine.org/redmine/trunk@19897 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/bazaar_adapter.rb | 33 +++++++++++++++--------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'lib') diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb index deb5a46ad..de5a53819 100644 --- a/lib/redmine/scm/adapters/bazaar_adapter.rb +++ b/lib/redmine/scm/adapters/bazaar_adapter.rb @@ -242,14 +242,15 @@ module Redmine next unless line =~ %r{^(\d+) ([^|]+)\| (.*)$} rev = $1 - blame.add_line( - $3.rstrip, - Revision.new( - :identifier => rev, - :revision => rev, - :author => $2.strip - ) - ) + blame. + add_line( + $3.rstrip, + Revision.new( + :identifier => rev, + :revision => rev, + :author => $2.strip + ) + ) end end blame @@ -306,10 +307,10 @@ module Redmine 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 - ) + self.class.sq_bin + ' ' + + full_args_locale.map {|e| shell_quote e.to_s}.join(' '), + &block + ) if $? && $?.exitstatus != 0 raise ScmCommandAborted, "bzr exited with non-zero status: #{$?.exitstatus}" end @@ -326,10 +327,10 @@ module Redmine 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 - ) + self.class.sq_bin + ' ' + + full_args_locale.map {|e| shell_quote e.to_s}.join(' '), + &block + ) ret end private :scm_cmd_no_raise -- cgit v1.2.3