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:
Toshi MARUYAMA 2014-01-09 07:07:06 +00:00
parent eb98a1f714
commit 8a9db2841d
1 changed files with 2 additions and 1 deletions

View File

@ -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)