--- 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"))