Mercurial > hg-stable
changeset 8429:4bf90ee588b9
raw: use newer template syntax everywhere
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 15 May 2009 10:46:59 +0200 |
parents | 5ccca71775e1 |
children | 8b47efdf40ee |
files | 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 |
diffstat | 7 files changed, 28 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- 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'