##// END OF EJS Templates
pull-requests: optimize db transaction logic....
pull-requests: optimize db transaction logic. - we've been investigating this issue with locked pull-requests - the transactions arround audit-logs and state-lock seems to be fragile for long-running, and exception prone setups - this change tries to make use of few snapshot transactions to prevent a long ones, and actually try to recover on failed audit-log calls.

File last commit:

r4032:07c1bd09 default
r4712:412d5d47 stable
Show More
hovercard_repo_commit.mako
8 lines | 421 B | application/x-mako | MakoHtmlLexer
/ rhodecode / templates / hovercards / hovercard_repo_commit.mako
hovercards: added commit hovercard for files, and dashboard views.
r4032 <%namespace name="base" file="/base/base.mako"/>
<%namespace name="dt" file="/data_table/_dt_elements.mako"/>
<div class="clear-fix">${base.gravatar_with_user(c.commit.author, tooltip=True)}</div>
<br/>
<a href="${h.route_path('repo_commit', repo_name=c.repo_name, commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> - ${c.commit.date}
<br/><br/>
<pre>${h.urlify_commit_message(c.commit.message, c.repo_name)}</pre>