##// END OF EJS Templates
scm: git: performance improvements in fetching revisions (#8857, #9472)...
scm: git: performance improvements in fetching revisions (#8857, #9472) Parse a revision for a given branch, just if we haven't parsed it for any branches before. Moved the db check to for existing revisions into a grouped search. Search for many revisions at once: this reduces db load. Revisions are grouped into sets of 100. This is to improve memory consumption. There will be just one query instead of each 100. The above two methods significantly increase parsing speed. Test case was a git repo with 6000+ commits on a master branch, and several other branches originating for master. Speed improved from 1.4h to 18min. Contributed by Gergely Fábián. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9144 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8732:2da8e9726853
r9024:999a4ba30d7b
Show More
changes.html.erb
22 lines | 715 B | text/plain | TextLexer
Eric Davis
Added branch and tag support to the git repository viewer. (#1406)...
r2735 <%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
<div class="contextual">
<%= render :partial => 'navigation' %>
</div>
<h2>
<%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => (@entry ? @entry.kind : nil), :revision => @rev } %>
</h2>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556
Jean-Philippe Lang
Show view/annotate/download links on repositories/entries and repositories/annotate views (#2367)....
r2165 <p><%= render :partial => 'link_to_functions' %></p>
Jean-Philippe Lang
Added basic support for CVS and Mercurial SCMs....
r556
Jean-Philippe Lang
Display svn properties in the browser, svn >= 1.5.0 only (#1581)....
r1613 <%= render_properties(@properties) %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/repositories/changes.html.erb...
r7182 <%= render(:partial => 'revisions',
Jean-Philippe Lang
Don't display the table headers if there is no changeset to display....
r1497 :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }) unless @changesets.empty? %>
Jean-Philippe Lang
More detailed html title on several views....
r951
Etienne Massip
Included scm stylesheet in changes page....
r8732 <% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
Jean-Philippe Lang
Slight improvements to the browser views....
r1019 <% html_title(l(:label_change_plural)) -%>