annotate mercurial/templates/paper/diffstat.tmpl @ 30368:ed45283a0ca7

manifest: remove dependency on manifestrevlog being able to create trees A future patch will be removing the read() function from the manifest class. Since manifestrevlog currently depends on the read function that manifest implements (as a derived class), we need to break the dependency from manifestrevlog to read(). We do this by adding an argument to manifestrevlog.write() which provides it with the ability to read a manifest. This is good in general because it further separates revlog as the storage format from the actual inmemory data structure implementation.
author Durham Goode <durham@fb.com>
date Thu, 10 Nov 2016 02:13:19 -0800
parents c229a5e7511e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19455
c229a5e7511e hgweb: make stripes in diffstat with CSS
Alexander Plavin <me@aplavin.ru>
parents: 14563
diff changeset
1 <tr>
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
2 <td class="diffstat-file"><a href="#l{fileno}.1">{file|escape}</a></td>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
3 <td class="diffstat-total" align="right">{total}</td>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
4 <td class="diffstat-graph">
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
5 <span class="diffstat-add" style="width:{addpct}%;">&nbsp;</span>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
6 <span class="diffstat-remove" style="width:{removepct}%;">&nbsp;</span>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
7 </td>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
8 </tr>