summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm/adapters
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-12 11:35:34 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-07-12 11:35:34 +0000
commitee120074eaa43b4549746672f21446ab55806f84 (patch)
tree035ed942f1351889d0267293fa25e6e6f176218d /lib/redmine/scm/adapters
parent374582b1504be68b943b041f6d50b95cc5f2169a (diff)
downloadredmine-ee120074eaa43b4549746672f21446ab55806f84.tar.gz
redmine-ee120074eaa43b4549746672f21446ab55806f84.zip
fix source indent of lib/redmine/scm/adapters/bazaar_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19894 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters')
-rw-r--r--lib/redmine/scm/adapters/bazaar_adapter.rb27
1 files changed, 16 insertions, 11 deletions
diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb
index 336864e67..deb5a46ad 100644
--- a/lib/redmine/scm/adapters/bazaar_adapter.rb
+++ b/lib/redmine/scm/adapters/bazaar_adapter.rb
@@ -74,11 +74,13 @@ module Redmine
info = nil
scm_cmd(*cmd_args) do |io|
if io.read =~ %r{^(\d+)\r?$}
- info = Info.new({:root_url => url,
- :lastrev => Revision.new({
- :identifier => $1
- })
- })
+ info = Info.new(
+ {
+ :root_url => url,
+ :lastrev =>
+ Revision.new({:identifier => $1})
+ }
+ )
end
end
info
@@ -105,12 +107,15 @@ module Redmine
name_locale, slash, revision = $3.strip, $4, $5.strip
name = scm_iconv('UTF-8', @path_encoding, name_locale)
- entries << Entry.new({:name => name,
- :path => ((path.empty? ? "" : "#{path}/") + name),
- :kind => (slash.blank? ? 'file' : 'dir'),
- :size => nil,
- :lastrev => Revision.new(:revision => revision)
- })
+ entries << Entry.new(
+ {
+ :name => name,
+ :path => ((path.empty? ? "" : "#{path}/") + name),
+ :kind => (slash.blank? ? 'file' : 'dir'),
+ :size => nil,
+ :lastrev => Revision.new(:revision => revision)
+ }
+ )
end
end
if logger && logger.debug?