view mercurial-server/resources/buildServerResources/log.template @ 658:256817bd4a0e

fix xmlescape for branch name
author eugene.petrenko@gmail.com
date Mon, 30 Sep 2013 20:30:40 +0200
parents b5844a6612cb
children 25cd8a5fd489
line wrap: on
line source
header = '<?xml version="1.0"?>\n<log>\n'
footer = '</log>\n'

changeset = '<logentry revision="{rev}" shortnode="{node|short}" branch="{branches}">\n{parents}<author original="{author|xmlescape}"/>\n<date>{date|date|xmlescape}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n<paths>\n{file_adds}{file_dels}{file_mods}</paths>\n</logentry>\n'

file_add  = '<path action="A">{file_add|xmlescape}</path>\n'
file_mod  = '<path action="M">{file_mod|xmlescape}</path>\n'
file_del  = '<path action="R">{file_del|xmlescape}</path>\n'

branches = '${branch|xmlescape}'
parent = '<parent revision="{rev}" shortnode="{node|short}"/>\n'