Mercurial > hg
view mercurial/templates/paper/diffstat.tmpl @ 45092:e699cebc3ae9 stable
convert: use bytes for value in extra dict
The keys and values of the extra dict are expected to be bytes. Before this
fix, there was a crash in mercurial.changelog.encodeextra().
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Tue, 14 Jul 2020 10:25:41 +0200 |
parents | c229a5e7511e |
children |
line wrap: on
line source
<tr> <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}%;"> </span> <span class="diffstat-remove" style="width:{removepct}%;"> </span> </td> </tr>