Display svn properties in the browser, svn >= 1.5.0 only (#1581).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1627 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
1e6b8a482a
commit
12fbd06c02
10 files changed
+139
-5
No files matched your search
@@ -66,6 +66,7 @@ class RepositoriesController < ApplicationController
|
||||
@entries ? render(:partial => 'dir_list_content') : render(:nothing => true)
|
||||
else
|
||||
show_error_not_found and return unless @entries
|
||||
@properties = @repository.properties(@path, @rev)
|
||||
render :action => 'browse'
|
||||
end
|
||||
end
|
||||
@@ -74,6 +75,7 @@ class RepositoriesController < ApplicationController
|
||||
@entry = @repository.entry(@path, @rev)
|
||||
show_error_not_found and return unless @entry
|
||||
@changesets = @repository.changesets_for_path(@path)
|
||||
@properties = @repository.properties(@path, @rev)
|
||||
end
|
||||
|
||||
def revisions
|
||||
@@ -106,7 +108,7 @@ class RepositoriesController < ApplicationController
|
||||
else
|
||||
# Prevent empty lines when displaying a file with Windows style eol
|
||||
@content.gsub!("\r\n", "\n")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def annotate
|
||||
|
||||
Reference in new issue
Block a user