scm: code clean up abstract_adapter.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5404 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0606dfdb62
commit
32a9937d4e
@ -305,14 +305,14 @@ module Redmine
|
|||||||
|
|
||||||
def initialize(attributes={})
|
def initialize(attributes={})
|
||||||
self.identifier = attributes[:identifier]
|
self.identifier = attributes[:identifier]
|
||||||
self.scmid = attributes[:scmid]
|
self.scmid = attributes[:scmid]
|
||||||
self.name = attributes[:name] || self.identifier
|
self.name = attributes[:name] || self.identifier
|
||||||
self.author = attributes[:author]
|
self.author = attributes[:author]
|
||||||
self.time = attributes[:time]
|
self.time = attributes[:time]
|
||||||
self.message = attributes[:message] || ""
|
self.message = attributes[:message] || ""
|
||||||
self.paths = attributes[:paths]
|
self.paths = attributes[:paths]
|
||||||
self.revision = attributes[:revision]
|
self.revision = attributes[:revision]
|
||||||
self.branch = attributes[:branch]
|
self.branch = attributes[:branch]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the readable identifier.
|
# Returns the readable identifier.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user