diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-10 18:32:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-10 18:32:09 +0000 |
commit | 7c105ec9e93b73f5c11f2d5cc240e2b15344ec98 (patch) | |
tree | e3d80cdacc74861550583ed4445ff69b051655c8 /lib/redmine/scm | |
parent | 9b60214b3a3e25691400cd3bbf11191429bc3c1c (diff) | |
download | redmine-7c105ec9e93b73f5c11f2d5cc240e2b15344ec98.tar.gz redmine-7c105ec9e93b73f5c11f2d5cc240e2b15344ec98.zip |
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
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r-- | lib/redmine/scm/adapters/abstract_adapter.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index d487a0f30..345aeba20 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -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] |