@@ -95,8 +95,9 class Repository::Mercurial < Repository | |||||
95 | changesets. |
|
95 | changesets. | |
96 | includes(:user). |
|
96 | includes(:user). | |
97 | where(latest_changesets_cond(path, rev, limit)). |
|
97 | where(latest_changesets_cond(path, rev, limit)). | |
|
98 | limit(limit). | |||
98 | order("#{Changeset.table_name}.id DESC"). |
|
99 | order("#{Changeset.table_name}.id DESC"). | |
99 | limit(limit) |
|
100 | all | |
100 | end |
|
101 | end | |
101 |
|
102 | |||
102 | def latest_changesets_cond(path, rev, limit) |
|
103 | def latest_changesets_cond(path, rev, limit) |
General Comments 0
You need to be logged in to leave comments.
Login now