##// END OF EJS Templates
diffs: use whole chunk diff to calculate if it's oversized or not....
diffs: use whole chunk diff to calculate if it's oversized or not. - This fixes an issue if a file is added that has very large number of small lines. In this case the time to detect if the diff should be limited was very very long and CPU intensive.

File last commit:

r1255:952cdf08 default
r2070:7939c6bf default
Show More
pull_request_update.mako
26 lines | 673 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
Pull request updated. Auto status change to |under_review|
.. role:: added
.. role:: removed
.. parsed-literal::
Changed commits:
* :added:`${len(added_commits)} added`
* :removed:`${len(removed_commits)} removed`
%if not changed_files:
No file changes found
%else:
Changed files:
%for file_name in added_files:
* `A ${file_name} <#${'a_' + h.FID('', file_name)}>`_
%endfor
%for file_name in modified_files:
* `M ${file_name} <#${'a_' + h.FID('', file_name)}>`_
%endfor
%for file_name in removed_files:
* R ${file_name}
%endfor
%endif
.. |under_review| replace:: *"${under_review_label}"*