diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py index eb523929d9..f26f809b4f 100644 --- 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")) diff --git a/templates/gitweb/map b/templates/gitweb/map index cd14b40d48..8f8538b03a 100644 --- a/templates/gitweb/map +++ b/templates/gitweb/map @@ -39,7 +39,6 @@ filerevchild = '
#lines#' changelogtag = '
... | -