##// END OF EJS Templates
compare: move get_changesets to compare controller where it is used - 2nd half that was lost in 6c79bfcd3b54...
compare: move get_changesets to compare controller where it is used - 2nd half that was lost in 6c79bfcd3b54 That is a better location than the pull request model. It should probably be split up and moved to the backend specific Repository classes.

File last commit:

r3273:91679a50 beta
r3754:8beaaea7 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}