##// END OF EJS Templates
git: adjusted code for new libgit2 backend...
git: adjusted code for new libgit2 backend - made @CachedProperty use a custom decarator that can do invalidations. This is required for tests - made few cleanups of code since we use a simpler libgit2 backend now - removed some unused obsolete code

File last commit:

r1282:90601d74 default
r3842:8bd67598 default
Show More
patch_changeset.mako
24 lines | 589 B | application/x-mako | MakoHtmlLexer
%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}