comparison mercurial-server/resources/buildServerResources/log.template @ 661:b5faf07c8171

Fix branch escaping for hg 1.5.2
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Mon, 30 Sep 2013 23:14:26 +0400
parents 25cd8a5fd489
children
comparison
equal deleted inserted replaced
660:25cd8a5fd489 661:b5faf07c8171
1 header = '<?xml version="1.0"?>\n<log>\n' 1 header = '<?xml version="1.0"?>\n<log>\n'
2 footer = '</log>\n' 2 footer = '</log>\n'
3 3
4 changeset = '<logentry revision="{rev}" shortnode="{node|short}" branch="{branch|xmlescape}">\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' 4 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'
5 5
6 file_add = '<path action="A">{file_add|xmlescape}</path>\n' 6 file_add = '<path action="A">{file_add|xmlescape}</path>\n'
7 file_mod = '<path action="M">{file_mod|xmlescape}</path>\n' 7 file_mod = '<path action="M">{file_mod|xmlescape}</path>\n'
8 file_del = '<path action="R">{file_del|xmlescape}</path>\n' 8 file_del = '<path action="R">{file_del|xmlescape}</path>\n'
9 9
10 parent = '<parent revision="{rev}" shortnode="{node|short}"/>\n' 10 parent = '<parent revision="{rev}" shortnode="{node|short}"/>\n'
11 branch = '{branch|xmlescape}'
11 12