# HG changeset patch # User Josef "Jeff" Sipek # Date 1133776888 18000 # Node ID 32b091ce402631dadbaf53537183df16d600a4fa # Parent 28305666f4c99f2735f004b8246d35c92d5171cc [hgweb] More gitweb style related fixes Fixed manifest link on tags page Fixed changeset link on manifest page diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -632,6 +632,7 @@ class hgweb(object): for k,n in i: yield {"parity": parity, "tag": k, + "manifest": hex(cl.read(n)[0]), "date": cl.read(n)[2], "node": hex(n)} parity = 1 - parity diff --git a/templates/manifest-gitweb.tmpl b/templates/manifest-gitweb.tmpl --- a/templates/manifest-gitweb.tmpl +++ b/templates/manifest-gitweb.tmpl @@ -10,7 +10,7 @@
#path|escape#
diff --git a/templates/map-gitweb b/templates/map-gitweb --- a/templates/map-gitweb +++ b/templates/map-gitweb @@ -32,7 +32,7 @@ changesetparent = "parentparent:#node|short#" fileannotateparent = "parent:#node|short#" tags = tags-gitweb.tmpl -tagentry = "#date|age# ago#tag#changeset | changelog | manifest" +tagentry = "#date|age# ago#tag#changeset | changelog | manifest" diffblock = "#lines#" changelogtag = "tag:#tag#" changesettag = "tag#tag#"