Mercurial > hg > buildtools
changeset 9:1c5e1f798c76
Fix the template for generating pseudo-XML output for ChangeLog generator via xslt.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 15 Jan 2011 04:46:08 +0200 |
parents | 8f11993b361d |
children | eaf5539e39e9 |
files | hg2cl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hg2cl Sat Jan 15 04:00:07 2011 +0200 +++ b/hg2cl Sat Jan 15 04:46:08 2011 +0200 @@ -136,7 +136,7 @@ ( echo '<?xml version="1.0"?>' && echo '<log>' && \ hg log $EXTRAOPTS -M -v -f --template \ -'<logentry revision="#rev#"><author>#author|escape#</author><date>#date|isodate#</date><paths><path>#files#</path></paths><msg>#desc|escape#</msg></logentry>\n' && \ +'<logentry revision="{rev}"><author>{author|escape}</author><date>{date|isodate}</date><paths><path>{files}</path></paths><msg>{desc|escape}</msg></logentry>\n' && \ echo '</log>' ) | \ iconv -f "iso-8859-1" -t "utf-8" | \ xsltproc --stringparam strip-prefix "$STRIPPREFIX" \