--- a/mercurial/hgweb/hgweb_mod.py Fri Mar 16 17:55:42 2007 -0400
+++ b/mercurial/hgweb/hgweb_mod.py Tue Mar 27 01:41:25 2007 -0300
@@ -547,23 +547,6 @@
'date': ctx.date()}
parity += 1
- def heads(**map):
- parity = 0
- count = 0
-
- for node in self.repo.heads():
- count += 1
- if count > 10:
- break;
-
- ctx = self.repo.changectx(node)
-
- yield {'parity': self.stripes(parity),
- 'branch': ctx.branch(),
- 'node': hex(node),
- 'date': ctx.date()}
- parity += 1
-
def changelist(**map):
parity = 0
l = [] # build a list in forward order for efficiency
@@ -596,7 +579,6 @@
lastchange=cl.read(cl.tip())[2],
tags=tagentries,
branches=branches,
- heads=heads,
shortlog=changelist,
node=hex(cl.tip()),
archives=self.archivelist("tip"))
--- a/templates/gitweb/map Fri Mar 16 17:55:42 2007 -0400
+++ b/templates/gitweb/map Tue Mar 27 01:41:25 2007 -0300
@@ -39,7 +39,6 @@
fileannotatechild = '<tr><td class="metatag">child {rev}:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
tags = tags.tmpl
tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a></td></tr>'
-headentry = '<tr class="parity{parity}"><td class="age"><i>{date|age} ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{node|short}</td><td>{branch|escape}</td><td class="link"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">manifest</a></td></tr>'
branchentry = '<tr class="parity{parity}"><td class="age"><i>{date|age} ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></td><td>{branch|escape}</td><td class="link"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/{node|short}{sessionvars%urlparameter}">manifest</a></td></tr>'
diffblock = '<pre>#lines#</pre>'
changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
--- a/templates/gitweb/summary.tmpl Fri Mar 16 17:55:42 2007 -0400
+++ b/templates/gitweb/summary.tmpl Tue Mar 27 01:41:25 2007 -0300
@@ -43,12 +43,4 @@
<td colspan="3"><a class="list" href="#">...</a></td>
</tr>
</table>
-
-<div><a class="title" href="#">heads</a></div>
-<table cellspacing="0">
-{heads%headentry}
-<tr class="light">
- <td colspan="3"><a class="list" href="#">...</a></td>
-</tr>
-</table>
#footer#