Adds a method to load changesets for repository entries.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9805 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-06-10 18:32:09 +00:00
parent 9b60214b3a
commit 7c105ec9e9
8 changed files with 25 additions and 13 deletions
+2 -1
View File
@@ -301,7 +301,8 @@ module Redmine
end
class Entry
attr_accessor :name, :path, :kind, :size, :lastrev
attr_accessor :name, :path, :kind, :size, :lastrev, :changeset
def initialize(attributes={})
self.name = attributes[:name] if attributes[:name]
self.path = attributes[:path] if attributes[:path]