mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
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
This commit is contained in:
parent
374582b150
commit
ee120074ea
@ -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?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user