mercurial/hgweb/hgweb_mod.py
changeset 4301 f344440fdcb0
parent 4300 05d15c456fb2
child 4325 aa26759c6fb3
--- a/mercurial/hgweb/hgweb_mod.py
+++ b/mercurial/hgweb/hgweb_mod.py
@@ -547,23 +547,6 @@ class hgweb(object):
                        '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 @@ class hgweb(object):
                  lastchange=cl.read(cl.tip())[2],
                  tags=tagentries,
                  branches=branches,
-                 heads=heads,
                  shortlog=changelist,
                  node=hex(cl.tip()),
                  archives=self.archivelist("tip"))