diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-07-12 11:35:58 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-07-12 11:35:58 +0000 |
commit | 373b5f4d047a12745de9c76e9592f592e22b62fc (patch) | |
tree | 0d06df24e678e04a36df4ad2f555a7c5e6d33e9a /lib | |
parent | d495c92f672c6f7b1e36f979308482deb06b9a75 (diff) | |
download | redmine-373b5f4d047a12745de9c76e9592f592e22b62fc.tar.gz redmine-373b5f4d047a12745de9c76e9592f592e22b62fc.zip |
fix source indent of BazaarAdapter
git-svn-id: http://svn.redmine.org/redmine/trunk@19897 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/scm/adapters/bazaar_adapter.rb | 33 |
1 files changed, 17 insertions, 16 deletions
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 |