##// END OF EJS Templates
repos: cleannup and fix landing-ref code....
repos: cleannup and fix landing-ref code. with latest git update this exposed a bug when we allowed to set references like tip for git repos now the defaults are loaded from a single place controlled by default branch for git. Repos without master are now working just fine with new git and new logic.

File last commit:

r1282:90601d74 default
r4852:07a18b11 default
Show More
patch_changeset.mako
24 lines | 589 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 %if h.is_hg(c.rhodecode_repo):
# ${c.rhodecode_repo.alias.upper()} changeset patch
# User ${c.commit.author |n}
# Date ${c.commit.date}
# Node ID ${c.commit.raw_id}
${c.parent_tmpl}
${c.commit.message |n}
%elif h.is_git(c.rhodecode_repo):
From ${c.commit.raw_id} ${c.commit.date}
From: ${c.commit.author |n}
Date: ${c.commit.date}
Subject: [PATCH] ${c.commit.message |n}
---
%elif h.is_svn(c.rhodecode_repo):
# ${c.rhodecode_repo.alias.upper()} changeset patch
# User ${c.commit.author |n}
# Date ${c.commit.date}
# Revision ${c.commit.raw_id}
${c.commit.message |n}
%endif
${c.diff|n}