diff options
-rw-r--r-- | lib/redmine/scm/adapters/abstract_adapter.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 9228dbe2d..1c172f342 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -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. |