diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-15 18:41:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-15 18:41:27 +0000 |
commit | 9ce5713ee49166a826fcd4355aab825070ddfa07 (patch) | |
tree | 8838172ece614054fa2f966fe0caba717b261df0 /app/controllers | |
parent | b9cc65db61016f88cb63ce639df078f541a3e5a1 (diff) | |
download | redmine-9ce5713ee49166a826fcd4355aab825070ddfa07.tar.gz redmine-9ce5713ee49166a826fcd4355aab825070ddfa07.zip |
Fixed: log is not displayed when browsing a copy in a svn repository.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@843 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/repositories_controller.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index 12439cfab..9439481e2 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -62,9 +62,7 @@ class RepositoriesController < ApplicationController def changes @entry = @repository.scm.entry(@path, @rev) show_error and return unless @entry - @changes = Change.find(:all, :include => :changeset, - :conditions => ["repository_id = ? AND path = ?", @repository.id, @path.with_leading_slash], - :order => "committed_on DESC") + @changesets = @repository.changesets_for_path(@path) end def revisions |