Fixed: Subversion#latest_changesets ignores revision argument (#4360).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3134 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2009-12-08 16:06:22 +00:00
1 parent efeebd4278
commit 517a87f8c5
2 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class Repository::Subversion < Repository
end
def latest_changesets(path, rev, limit=10)
revisions = scm.revisions(path, nil, nil, :limit => limit)
revisions = scm.revisions(path, rev, nil, :limit => limit)
revisions ? changesets.find_all_by_revision(revisions.collect(&:identifier), :order => "committed_on DESC", :include => :user) : []
end