summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-12 11:35:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-12 11:35:58 +0000
commit373b5f4d047a12745de9c76e9592f592e22b62fc (patch)
tree0d06df24e678e04a36df4ad2f555a7c5e6d33e9a /lib
parentd495c92f672c6f7b1e36f979308482deb06b9a75 (diff)
downloadredmine-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.rb33
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