comparison mercurial/templates/map-cmdline.xml @ 10159:182416227722

Added output of "extras" to hg log XML output
author Robert Bachmann <rbachm@gmail.com>
date Wed, 30 Dec 2009 02:38:53 +0100
parents 000546ec7ced
children 0be2fe6a0843
comparison
equal deleted inserted replaced
10158:08c90cb58b04 10159:182416227722
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}" node="{node}">\n{branches}{tags}{parents}<author email="{author|email|xmlescape}">{author|person|xmlescape}</author>\n<date>{date|rfc3339date}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n</logentry>\n' 4 changeset = '<logentry revision="{rev}" node="{node}">\n{branches}{tags}{parents}<author email="{author|email|xmlescape}">{author|person|xmlescape}</author>\n<date>{date|rfc3339date}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n</logentry>\n'
5 changeset_verbose = '<logentry revision="{rev}" node="{node}">\n{branches}{tags}{parents}<author email="{author|email|xmlescape}">{author|person|xmlescape}</author>\n<date>{date|rfc3339date}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n<paths>\n{file_adds}{file_dels}{file_mods}</paths>\n{file_copies}</logentry>\n' 5 changeset_verbose = '<logentry revision="{rev}" node="{node}">\n{branches}{tags}{parents}<author email="{author|email|xmlescape}">{author|person|xmlescape}</author>\n<date>{date|rfc3339date}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n<paths>\n{file_adds}{file_dels}{file_mods}</paths>\n{file_copies}</logentry>\n'
6 changeset_debug = '<logentry revision="{rev}" node="{node}">\n{branches}{tags}{parents}<author email="{author|email|xmlescape}">{author|person|xmlescape}</author>\n<date>{date|rfc3339date}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n<paths>\n{file_adds}{file_dels}{file_mods}</paths>\n{file_copies}{extras}</logentry>\n'
6 7
7 file_add = '<path action="A">{file_add|xmlescape}</path>\n' 8 file_add = '<path action="A">{file_add|xmlescape}</path>\n'
8 file_mod = '<path action="M">{file_mod|xmlescape}</path>\n' 9 file_mod = '<path action="M">{file_mod|xmlescape}</path>\n'
9 file_del = '<path action="R">{file_del|xmlescape}</path>\n' 10 file_del = '<path action="R">{file_del|xmlescape}</path>\n'
10 11
13 end_file_copies = '</copies>\n' 14 end_file_copies = '</copies>\n'
14 15
15 parent = '<parent revision="{rev}" node="{node}" />\n' 16 parent = '<parent revision="{rev}" node="{node}" />\n'
16 branch = '<branch>{branch|xmlescape}</branch>\n' 17 branch = '<branch>{branch|xmlescape}</branch>\n'
17 tag = '<tag>{tag|xmlescape}</tag>\n' 18 tag = '<tag>{tag|xmlescape}</tag>\n'
19 extra = '<extra key="{key|xmlescape}">{value|xmlescape}</extra>\n'