Mercurial > hg > mercurial
view mercurial-server/resources/buildServerResources/fastlog.template @ 584:49b11c289395
Speed up subrepo changes collecting
By default do not calculate file status in subrepo changes,
report 'edited' in all the cases. Calculating file status is the
most expensive mercurial operation. Also report only actually
changed files in subrepo merge commits, otherwise they contain
thousands of changed files from merged branches.
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Tue, 09 Apr 2013 21:18:11 +0400 |
parents | |
children | 3daa8e36f8f1 |
line wrap: on
line source
header = '<?xml version="1.0"?>\n<log>\n' footer = '</log>\n' changeset = '<logentry revision="{rev}" shortnode="{node|short}">\n{parents}<author original="{author|xmlescape}"/>\n<date>{date|date|xmlescape}</date>\n<msg xml:space="preserve">{desc|xmlescape}</msg>\n<paths>\n{files}</paths>\n</logentry>\n' file = '<path action="M">{file|xmlescape}</path>\n' parent = '<parent revision="{rev}" shortnode="{node|short}"/>\n'