view mercurial-server/resources/buildServerResources/log.template @ 981:64b5816390f9 Indore-2017.2.x

TW-50054 support hg path whitelist Use hg path from VCS root only if it in whitelist
author Dmitry Neverov <dmitry.neverov@gmail.com>
date Wed, 24 Jan 2018 21:19:56 +0100
parents b5faf07c8171
children
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'

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