mirror of
https://github.com/redmine/redmine.git
synced 2026-01-18 05:22:53 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user