annotate rhodecode/templates/changeset/patch_changeset.html @ 2996:ebe3e388bbb3 beta

new patch function, and urls schema. now rhodecode generates - diff - plain diff - patch files both for git and hg
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 10 Nov 2012 03:17:24 +0100
parents rhodecode/templates/changeset/raw_changeset.html@32471bd1f4ee
children 2976c29f7a04
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
468
9dd372c7166c added menu for changeset raw diff and download diff
Marcin Kuzminski <marcin@python-works.com>
parents: 466
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}
466
183cee110578 first implementation of #34 changeset raw diff based on udiff from python
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 ${c.changeset.message}
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):
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
10 From 35d9475598be9f807cd800e51212b8f1efbeacd9 Mon Sep 17 00:00:00 2001
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
11 From: ${c.changeset.author}
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
12 Date: ${c.changeset.date}
ebe3e388bbb3 new patch function, and urls schema.
Marcin Kuzminski <marcin@python-works.com>
parents: 2995
diff changeset
13 Subject: [PATCH] ${c.changeset.message}
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}