fix source indent of lib/redmine/scm/adapters/bazaar_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20193 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-10-26 13:34:44 +00:00
parent decd5366b5
commit 544fe70b5f

View File

@@ -73,7 +73,8 @@ module Redmine
info = nil info = nil
scm_cmd(*cmd_args) do |io| scm_cmd(*cmd_args) do |io|
if io.read =~ %r{^(\d+)\r?$} if io.read =~ %r{^(\d+)\r?$}
info = Info.new( info =
Info.new(
{ {
:root_url => url, :root_url => url,
:lastrev => :lastrev =>
@@ -106,7 +107,8 @@ module Redmine
name_locale, slash, revision = $3.strip, $4, $5.strip name_locale, slash, revision = $3.strip, $4, $5.strip
name = scm_iconv('UTF-8', @path_encoding, name_locale) name = scm_iconv('UTF-8', @path_encoding, name_locale)
entries << Entry.new( entries <<
Entry.new(
{ {
:name => name, :name => name,
:path => ((path.empty? ? "" : "#{path}/") + name), :path => ((path.empty? ? "" : "#{path}/") + name),
@@ -305,7 +307,8 @@ module Redmine
full_args.map do |e| full_args.map do |e|
full_args_locale << scm_iconv(@path_encoding, 'UTF-8', e) full_args_locale << scm_iconv(@path_encoding, 'UTF-8', e)
end end
ret = shellout( ret =
shellout(
self.class.sq_bin + ' ' + self.class.sq_bin + ' ' +
full_args_locale.map {|e| shell_quote e.to_s}.join(' '), full_args_locale.map {|e| shell_quote e.to_s}.join(' '),
&block &block
@@ -325,7 +328,8 @@ module Redmine
full_args.map do |e| full_args.map do |e|
full_args_locale << scm_iconv(@path_encoding, 'UTF-8', e) full_args_locale << scm_iconv(@path_encoding, 'UTF-8', e)
end end
ret = shellout( ret =
shellout(
self.class.sq_bin + ' ' + self.class.sq_bin + ' ' +
full_args_locale.map {|e| shell_quote e.to_s}.join(' '), full_args_locale.map {|e| shell_quote e.to_s}.join(' '),
&block &block