view mercurial-server/resources/buildServerResources/log.template @ 1132:a272ea98b4b7 development/2024.07.x

TW-88158: remove MercurialCommitsInfoBuilderSupport and CommitsAndMountPointsCommand together with the custom hg extension. - The extension point was introduced for Upsource and is no longer needed. - The hg extension was not compatible with python 3 and led to test errors. (grafted from cb5e6f9a2bcd450e660c89305b190f5ed272e0d6)
author Andreas Eisele <andreas.eisele@jetbrains.com>
date Thu, 06 Jun 2024 15:12:18 +0200
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}'