raw: use newer template syntax everywhere
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Fri, 15 May 2009 10:46:59 +0200
changeset 8429 4bf90ee588b9
parent 8428 5ccca71775e1
child 8430 8b47efdf40ee
raw: use newer template syntax everywhere
templates/raw/changeset.tmpl
templates/raw/error.tmpl
templates/raw/fileannotate.tmpl
templates/raw/filediff.tmpl
templates/raw/index.tmpl
templates/raw/map
templates/raw/notfound.tmpl
--- a/templates/raw/changeset.tmpl	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/changeset.tmpl	Fri May 15 10:46:59 2009 +0200
@@ -1,9 +1,9 @@
-#header#
+{header}
 # HG changeset patch
-# User #author#
-# Date #date|hgdate#
-# Node ID #node#
-#parent%changesetparent#
-#desc#
+# User {author}
+# Date {date|hgdate}
+# Node ID {node}
+{parent%changesetparent}
+{desc}
 
-#diff#
+{diff}
--- a/templates/raw/error.tmpl	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/error.tmpl	Fri May 15 10:46:59 2009 +0200
@@ -1,2 +1,2 @@
-#header#
-error: #error#
+{header}
+error: {error}
--- a/templates/raw/fileannotate.tmpl	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/fileannotate.tmpl	Fri May 15 10:46:59 2009 +0200
@@ -1,5 +1,5 @@
-#header#
-#annotate%annotateline#
-#footer#
+{header}
+{annotate%annotateline}
+{footer}
 
 
--- a/templates/raw/filediff.tmpl	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/filediff.tmpl	Fri May 15 10:46:59 2009 +0200
@@ -1,5 +1,5 @@
-#header#
-#diff#
-#footer#
+{header}
+{diff}
+{footer}
 
 
--- a/templates/raw/index.tmpl	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/index.tmpl	Fri May 15 10:46:59 2009 +0200
@@ -1,2 +1,2 @@
-#header#
-#entries%indexentry#
+{header}
+{entries%indexentry}
--- a/templates/raw/map	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/map	Fri May 15 10:46:59 2009 +0200
@@ -2,15 +2,15 @@
 header = ''
 footer = ''
 changeset = changeset.tmpl
-difflineplus = '#line#'
-difflineminus = '#line#'
-difflineat = '#line#'
-diffline = '#line#'
-changesetparent = '# Parent  #node#'
-changesetchild = '# Child   #node#'
+difflineplus = '{line}'
+difflineminus = '{line}'
+difflineat = '{line}'
+diffline = '{line}'
+changesetparent = '# Parent  {node}'
+changesetchild = '# Child   {node}'
 filenodelink = ''
-fileline = '#line#'
-diffblock = '#lines#'
+fileline = '{line}'
+diffblock = '{lines}'
 filediff = filediff.tmpl
 fileannotate = fileannotate.tmpl
 annotateline = '{author|user}@{rev}: {line}'
@@ -20,4 +20,4 @@
 index = index.tmpl
 notfound = notfound.tmpl
 error = error.tmpl
-indexentry = '#url#\n'
+indexentry = '{url}\n'
--- a/templates/raw/notfound.tmpl	Fri May 15 10:46:52 2009 +0200
+++ b/templates/raw/notfound.tmpl	Fri May 15 10:46:59 2009 +0200
@@ -1,2 +1,2 @@
-#header#
-error: repository #repo# not found
+{header}
+error: repository {repo} not found