1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 20:29:37 +00:00

fix source indent of BazaarAdapter

git-svn-id: http://svn.redmine.org/redmine/trunk@19897 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-07-12 11:35:58 +00:00
parent d495c92f67
commit 373b5f4d04

View File

@ -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