Mercurial > hg > mercurial
comparison mercurial-server/resources/buildServerResources/log.template @ 299:e9e7d9fcf57d
Use customized xml output from the 'hg log' command instead of running 'hg status' for every commit
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Thu, 08 Sep 2011 12:56:56 +0400 |
parents | |
children | 83aff5760c25 |
comparison
equal
deleted
inserted
replaced
298:9b9fd71911eb | 299:e9e7d9fcf57d |
---|---|
1 header = '<?xml version="1.0"?>\n<log>\n' | |
2 footer = '</log>\n' | |
3 | |
4 changeset = '<logentry revision="{rev}" node="{node}" shortnode="{node|short}">\n{branches}{tags}{parents}<author original="{author|xmlescape}" email="{author|email|xmlescape}">{author|person|xmlescape}</author>\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{file_copies}</logentry>\n' | |
5 | |
6 file_add = '<path action="A">{file_add|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' | |
9 | |
10 start_file_copies = '<copies>\n' | |
11 file_copy = '<copy source="{source|xmlescape}">{name|xmlescape}</copy>\n' | |
12 end_file_copies = '</copies>\n' | |
13 | |
14 parent = '<parent revision="{rev}" node="{node}" shortnode="{node|short}"/>\n' | |
15 branch = '<branch>{branch|xmlescape}</branch>\n' | |
16 tag = '<tag>{tag|xmlescape}</tag>\n' | |
17 extra = '<extra key="{key|xmlescape}">{value|xmlescape}</extra>\n' |