Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: sitescripts/hg/template/issue_commit_comment.tmpl

Issue 29344546: Issue 4070 - Correctly handle multiline commit messages in the mercurial hook (Closed)
Patch Set: Created May 25, 2016, 5:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 {% if changes|length > 1 -%} 1 {% if changes|length > 1 -%}
2 Some commits referencing this issue have landed: 2 Some commits referencing this issue have landed:
3 {%- else -%} 3 {%- else -%}
4 A commit referencing this issue has landed: 4 A commit referencing this issue has landed:
5 {%- endif %} 5 {%- endif %}
6 {%- for change in changes %} 6 {%- for change in changes %}
7 {% if loop.length > 1 %}- {% endif -%} 7 {% if loop.length > 1 %}- {% endif -%}
8 [https://hg.adblockplus.org/{{repository_name}}/rev/{{change.hex()[:12]}} {{chan ge.description()}}] 8 [https://hg.adblockplus.org/{{repository_name}}/rev/{{change.hex()[:12]}} {{form at_description(change)}}]
9 {%- endfor -%} 9 {%- endfor -%}
OLDNEW

Powered by Google App Engine
This is Rietveld