Added Darcs basic support.
Files in the repository can not be viewed or downloaded since Darcs doesn't support cat-like command. git-svn-id: http://redmine.rubyforge.org/svn/trunk@573 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
faa3d984ab
commit
ba1b857197
8 files changed
+271
-3
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
<h3><%=h @entry.name %></h3>
|
||||
|
||||
<% if @repository.supports_cat? %>
|
||||
<p>
|
||||
<% if @entry.is_text? %>
|
||||
<%= link_to l(:button_view), {:action => 'entry', :id => @project, :path => @path, :rev => @rev } %> |
|
||||
@@ -9,5 +10,6 @@
|
||||
<%= link_to l(:button_download), {:action => 'entry', :id => @project, :path => @path, :rev => @rev, :format => 'raw' } %>
|
||||
<%= "(#{number_to_human_size(@entry.size)})" if @entry.size %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changes, :entry => @entry }%>
|
||||
Reference in new issue
Block a user