##// END OF EJS Templates
patch: move yielding "\n" to the end of loop...
patch: move yielding "\n" to the end of loop The original logic makes it harder to reason about - it yields the "\n" character belonging to the last line in the next loop iteration. The new code is in theory a little bit slower. But is more readable. It makes the following changes easier to read. Differential Revision: https://phab.mercurial-scm.org/D3210

File last commit:

r9999:f91e5630 default
r37748:8d730f96 default
Show More
changeset.tmpl
9 lines | 124 B | application/x-cheetah | CheetahLexer
{header}
# HG changeset patch
# User {author}
# Date {date|hgdate}
# Node ID {node}
{parent%changesetparent}
{desc}
{diff}