##// END OF EJS Templates
py3: convert to unicode to pass into encode()...
py3: convert to unicode to pass into encode() encoding.encoding is bytes, we need to pass it to encode() which accepts unicodes in py3, so used pycomapt.sysstr() Also this can't be done using transformer as that only transforms the string values not variables.

File last commit:

r19455:c229a5e7 default
r30050:d229be12 default
Show More
diffstat.tmpl
8 lines | 341 B | application/x-cheetah | CheetahLexer
Alexander Plavin
hgweb: make stripes in diffstat with CSS
r19455 <tr>
Steven Brown
paper, coal: define the diffstat templates...
r14563 <td class="diffstat-file"><a href="#l{fileno}.1">{file|escape}</a></td>
<td class="diffstat-total" align="right">{total}</td>
<td class="diffstat-graph">
<span class="diffstat-add" style="width:{addpct}%;">&nbsp;</span>
<span class="diffstat-remove" style="width:{removepct}%;">&nbsp;</span>
</td>
</tr>