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 = 'child {rev}:child {rev}:{node|short}' tags = tags.tmpl tagentry = '#date|age# ago#tag|escape#changeset | changelog | manifest' -headentry = '{date|age} ago{node|short}{branch|escape}changeset | changelog | manifest' branchentry = '{date|age} ago{node|short}{branch|escape}changeset | changelog | manifest' diffblock = '
#lines#
' changelogtag = 'tag:#tag|escape#' diff --git a/templates/gitweb/summary.tmpl b/templates/gitweb/summary.tmpl index 084f44e955..4c07ebbb9d 100644 --- a/templates/gitweb/summary.tmpl +++ b/templates/gitweb/summary.tmpl @@ -43,12 +43,4 @@ summary | ... - -
heads
- -{heads%headentry} - - - -
...
#footer#