backout r12562 : remove unneeded Relation#all from Repository::Mercurial#latest_changesets
git-svn-id: http://svn.redmine.org/redmine/trunk@12567 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
eb98a1f714
commit
8a9db2841d
|
@ -95,8 +95,9 @@ class Repository::Mercurial < Repository
|
|||
changesets.
|
||||
includes(:user).
|
||||
where(latest_changesets_cond(path, rev, limit)).
|
||||
limit(limit).
|
||||
order("#{Changeset.table_name}.id DESC").
|
||||
limit(limit)
|
||||
all
|
||||
end
|
||||
|
||||
def latest_changesets_cond(path, rev, limit)
|
||||
|
|
Loading…
Reference in New Issue