annotate rhodecode/templates/changeset/patch_changeset.html @ 4043:a1bc4af25ec5

Implemented issue #387 side-by-side diffs view
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 26 Jun 2013 19:07:32 +0200
parents 91679a5013c3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2995
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2083
diff changeset
1 %if h.is_hg(c.rhodecode_repo):
32471bd1f4ee Implemented generation of changesets based
Marcin Kuzminski <marcin@python-works.com>
parents: 2083
diff changeset
2 # ${c.rhodecode_repo.alias.upper()} changeset patch
3273
91679a5013c3 fix patch view for GIT, don't escape stuff to much
Marcin Kuzminski <marcin@python-works.com>
parents: 3272
diff changeset
3 # User ${c.changeset.author |n}
648
74bbfdd47884 Small fixes for style.
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
4 # Date ${c.changeset.date}
543
a99e23e6c1e8 fixes #13 large initial commits and changesets are cut of now to not freeze the application.
Marcin Kuzminski <marcin@python-works.com>
parents: 468
diff changeset
5 # Node ID ${c.changeset.raw_id}
1402
edfbf3ee9965 fixes #217 Seperate Parents on Raw-changeset page
Marcin Kuzminski <marcin@python-works.com>
parents: 648
diff changeset
6 ${c.parent_tmpl}
3272
2976c29f7a04 don't escape any html in patch view
Marcin Kuzminski <marcin@python-works.com>
parents: 2996
diff changeset
7 ${c.changeset.message |n}
2996
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
8
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
9 %elif h.is_git(c.rhodecode_repo):
3273
91679a5013c3 fix patch view for GIT, don't escape stuff to much
Marcin Kuzminski <marcin@python-works.com>
parents: 3272
diff changeset
10 From ${c.changeset.raw_id} ${c.changeset.date}
91679a5013c3 fix patch view for GIT, don't escape stuff to much
Marcin Kuzminski <marcin@python-works.com>
parents: 3272
diff changeset
11 From: ${c.changeset.author |n}
2996
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
12 Date: ${c.changeset.date}
3273
91679a5013c3 fix patch view for GIT, don't escape stuff to much
Marcin Kuzminski <marcin@python-works.com>
parents: 3272
diff changeset
13 Subject: [PATCH] ${c.changeset.message |n}
2996
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
14 ---
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
15
2083
60115135b77e fixed raw_changeset for git, accidentally it was generated with hg patch headers
Marcin Kuzminski <marcin@python-works.com>
parents: 1888
diff changeset
16 %endif
2996
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
17 ${c.diff|n}