##// END OF EJS Templates
summary: redirect from repo URLs with #branchname to changelog with this branch...
summary: redirect from repo URLs with #branchname to changelog with this branch This implements partial support for the Mercurial syntax for specifying revisions so https://secure.rhodecode.org/rhodecode/#beta works both for pulling with Mercurial and browsing. This uses javascript, and has a bit of extra support for onhashchange in HTML5 browsers.

File last commit:

r3273:91679a50 beta
r3655:c78de39f beta
Show More
patch_changeset.html
17 lines | 423 B | text/html | HtmlLexer
%if h.is_hg(c.rhodecode_repo):
# ${c.rhodecode_repo.alias.upper()} changeset patch
# User ${c.changeset.author |n}
# Date ${c.changeset.date}
# Node ID ${c.changeset.raw_id}
${c.parent_tmpl}
${c.changeset.message |n}
%elif h.is_git(c.rhodecode_repo):
From ${c.changeset.raw_id} ${c.changeset.date}
From: ${c.changeset.author |n}
Date: ${c.changeset.date}
Subject: [PATCH] ${c.changeset.message |n}
---
%endif
${c.diff|n}