mercurial/templates/paper/diffstat.tmpl
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 12 Mar 2021 19:02:07 -0500
branchstable
changeset 46416 693991ccfc49
parent 19455 c229a5e7511e
permissions -rw-r--r--
crecord: null out the curses attribute with `None` on failure to import Pytype got really confused that this could be `Union[module, bool]`, and spewed about tons of attributes that are not available on `bool`. Differential Revision: https://phab.mercurial-scm.org/D10210

  <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}%;">&nbsp;</span>
      <span class="diffstat-remove" style="width:{removepct}%;">&nbsp;</span>
    </td>
  </tr>