view mercurial/templates/paper/diffstat.tmpl @ 26057:10917b062adf

commands.push: use paths API ui.path instances now collect most of the data used by commands.push(). Move away from ui.expandpath() and call ui.paths.getpath() to get a path instance. Some "pushing to" output was dropped as one test demonstrates. I believe the dropped message was redundant with the error message and the change to be acceptable.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 07 Aug 2015 22:39:47 -0700
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}%;">&nbsp;</span>
      <span class="diffstat-remove" style="width:{removepct}%;">&nbsp;</span>
    </td>
  </tr>