scm: lib: add parents attribute to Revision class of abstract adapter (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7665 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
887893601e
commit
0ff17efb4d
|
@ -333,7 +333,8 @@ module Redmine
|
|||
|
||||
class Revision
|
||||
attr_accessor :scmid, :name, :author, :time, :message,
|
||||
:paths, :revision, :branch, :identifier
|
||||
:paths, :revision, :branch, :identifier,
|
||||
:parents
|
||||
|
||||
def initialize(attributes={})
|
||||
self.identifier = attributes[:identifier]
|
||||
|
@ -345,6 +346,7 @@ module Redmine
|
|||
self.paths = attributes[:paths]
|
||||
self.revision = attributes[:revision]
|
||||
self.branch = attributes[:branch]
|
||||
self.parents = attributes[:parents]
|
||||
end
|
||||
|
||||
# Returns the readable identifier.
|
||||
|
|
Loading…
Reference in New Issue