##// END OF EJS Templates
branch-permissions: handle vcs operations and branch permissions....
branch-permissions: handle vcs operations and branch permissions. - use new exceptions for branch permissions - detect if we need to check permissions - calculate super-admin the same way as regular users for override capabilities - added new tests for branch permissions

File last commit:

r1282:90601d74 default
r2979:095dcb4b 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}