# HG changeset patch # User Thomas Arendsen Hein # Date 2006-02-03 11:50:02 # Node ID 03cb6bf43a9b8d2e54e5b13df94d7d7d2ce7eb3b # Parent 74a5cef971aa95f00c6ddfca7c8f84dacd3690db Added raw view for file annotate in hgweb. diff --git a/templates/fileannotate-gitweb.tmpl b/templates/fileannotate-gitweb.tmpl --- a/templates/fileannotate-gitweb.tmpl +++ b/templates/fileannotate-gitweb.tmpl @@ -10,7 +10,7 @@
#file|escape#
diff --git a/templates/fileannotate-raw.tmpl b/templates/fileannotate-raw.tmpl new file mode 100644 --- /dev/null +++ b/templates/fileannotate-raw.tmpl @@ -0,0 +1,5 @@ +#header# +#annotate%annotateline# +#footer# + + diff --git a/templates/fileannotate.tmpl b/templates/fileannotate.tmpl --- a/templates/fileannotate.tmpl +++ b/templates/fileannotate.tmpl @@ -10,6 +10,7 @@ manifest file revisions +raw

Annotate #file|escape#

diff --git a/templates/map-raw b/templates/map-raw --- a/templates/map-raw +++ b/templates/map-raw @@ -12,3 +12,5 @@ filerevision = filerevision-raw.tmpl fileline = "#line#" diffblock = "#lines#" filediff = filediff-raw.tmpl +fileannotate = fileannotate-raw.tmpl +annotateline = "#author#@#rev#: #line#"